In the following line of code, what is the name of the subclass?
Class Rose(Flower) :
A) Rose
B) Flower
C) Either
D) Incorrect code
Correct Answer:
Verified
Q4: New attributes and methods may be added
Q6: When a class inherits another class,it is
Q8: Examine the following piece of code:
Class Potato
Q10: It is not possible to indicate inheritance
Q12: When there are several classes that have
Q13: In a UML diagram, what does the
Q14: _ allows a new class to inherit
Q15: Which of the following is the correct
Q16: What is the relationship called in which
Q17: Which method can you use to determine
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents