The class __________ is an ancestor class of all Java classes.
A) String
B) Object
C) Math
D) JFrame
Correct Answer:
Verified
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
Q15: When you define a derived class,you give
Q16: If the final modifier is added to
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
Q21: A constructor for a derived class begins
Q22: Define a base class to represent a
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