Multiple Choice
Which of the following statements is false?
A) A class can directly inherit from class Object.
B) It's often much more efficient to create a class by inheriting from a similar class than to create the class by writing every line of code the new class requires.
C) If the class you're inheriting from declares instance variables as private, the inherited class can access those instance variables directly.
D) A class's instance variables are normally declared private to enforce good software engineering.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Consider the classes below, declared in the
Q3: Every class in Java, except _, extends
Q4: When overriding a superclass method and calling
Q5: Private fields of a superclass can be
Q6: An advantage of inheritance is that:<br>A) All
Q7: Using the protected keyword also gives a
Q8: Which superclass members are inherited by all
Q9: Inheritance is also known as the<br>A) knows-a
Q10: Which statement is true when a superclass
Q11: The default implementation of method clone of