QUESTION 5 In the composite design pattern, how many relationships exist between the component class and the composite c
Posted: Tue Jul 05, 2022 10:19 am
QUESTION 5
In the composite design pattern, how many relationships existbetween the component class and the composite class?
Choose one • 1 point
A. 1
B. 2
C. 3
D. 4
E. 5
QUESTION 6
What makes a function considered as polymorphic for the purposesof this course?
Choose one • 1 point
A. The virtual keyword
B. The static keyword
C. The way the function implementation is written
D. If it is overridden from the parent (same signature)
E. If it is overloaded from the parent (differentparameters)
In the composite design pattern, how many relationships existbetween the component class and the composite class?
Choose one • 1 point
A. 1
B. 2
C. 3
D. 4
E. 5
QUESTION 6
What makes a function considered as polymorphic for the purposesof this course?
Choose one • 1 point
A. The virtual keyword
B. The static keyword
C. The way the function implementation is written
D. If it is overridden from the parent (same signature)
E. If it is overloaded from the parent (differentparameters)