When you define a derived class,you give only the added instance variables and the added methods as well as all the methods from the base class.
Correct Answer:
Verified
Q10: In using the keyword this in place
Q11: A derived class is a class defined
Q12: Inheritance promotes code _.
A)reinvention
B)reuse
C)repeats
D)all of the above
Q13: A super class is also called a
A)derived
Q14: A method or instance variable modified by
Q16: If the final modifier is added to
Q17: The class _ is an ancestor class
Q18: The special syntax for invoking a constructor
Q19: The keyword extends indicates:
A)encapsulation
B)polymorphism
C)inheritance
D)none of the above
Q20: A derived class contains only public instance
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