Inheritance is the process by which a new class - known as a _________ - is created from another class,called the _____________.
A) base class,derived class
B) derived class,base class
C) inherited class,base class
D) base class,inherited class
Correct Answer:
Verified
Q11: In using the keyword this in place
Q11: A derived class is a class defined
Q12: The Object class contains the method:
A)getClass()
B)toString()
C)equals()
D)all of
Q14: The class _ is an ancestor class
Q15: If the final modifier is added to
Q17: A derived class is also called a
A)sub
Q18: An object of a derived class has
Q19: Inheritance promotes code _.
A)reinvention
B)reuse
C)repeats
D)all of the above
Q20: A derived class contains only public instance
Q24: Write Java statements that compares Objects,O1 and
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