Multiple Choice
To avoid duplicating code,use ________,rather than ________.
A) inheritance,the "copy-and-past" approach.
B) the "copy-and-paste" approach,inheritance.
C) a class that explicitly extends Object,a class that does not extend Object.
D) a class that does not extend Object,a class that explicitly extends Object.
Correct Answer:

Verified
Correct Answer:
Verified
Q3: Every class in Java, except _, extends
Q6: Class _ represents an image that can
Q7: An advantage of inheritance is that:<br>A)All methods
Q9: Inheritance is also known as the<br>A) knows-a
Q13: The default equals implementation of class Object
Q14: Which method changes the text the label
Q15: Which of the following statements is false?<br>A)
Q18: Superclass methods with this level of access
Q19: Which of the following keywords allows a
Q20: Overriding a method differs from overloading a