A superclass is a class that is inherited by a subclass.
extends
False. A subclass inherits all of the members of its superclass, but it cannot access the private members.
True
super()
super.member
Constructors are called in the order of derivation.
True
When a method in a subclass has the same name and type signature as a method in a superclass, then the method in the subclass overrides the method in the superclass.
Run-time polymorphism is achieved in Java through the mechanism of dynamic method dispatch. This is the process by which a call to an overridden method is resolved at run-time rather than at compile-time. When an overridden method is called through a superclass reference, the version of that method that is executed is the one defined by th object being referred to. Thus, calling the same method through the same superclass reference, but on different objects, results in different versions of the method being executed.
An abstract method is a method modified by the abstract keyword. Abstract methods have no body. An abstract class is one that contains at least one abstract method. Abstract classes must also be qualified by the abstract keyword.
A subclass must implement all abstract methods defined by its superclass, or declare itself as abstract.
To prevent a class from being extended, modify its declaration with final.
Modify a class variable (static member) with final.
Object is the built-in class that is an implicit superclass for all other classes.