The class __________ is an ancestor class of all Java classes.
A) String
B) Object
C) Math
D) JFrame
Correct Answer:
Verified
Q9: The keyword extends indicates:
A)encapsulation
B)polymorphism
C)inheritance
D)none of the above
Q10: The equals method for a class should
Q11: In using the keyword this in place
Q12: The Object class contains the method:
A)getClass()
B)toString()
C)equals()
D)all of
Q15: If the final modifier is added to
Q16: Inheritance is the process by which a
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
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