In the following line of code,what is the name of the subclass?
Class Rose(Flower) :
A) Rose
B) Flower
C) Rose(Flower)
D) None of these
Correct Answer:
Verified
Q12: When there are several classes that have
Q13: Polymorphism works on any two class methods
Q14: A superclass inherits attributes and methods from
Q15: _ allows a new class to inherit
Q16: _ has the ability to define a
Q18: In a UML diagram,what does the open
Q19: A subclass may not override any method
Q20: What is the relationshop called in which
Q21: Which of the following is the correct
Q22: A superclass is also called a(n)_ class.
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