Untitled Deck Flashcards
1
Q
can be defined as the process where one class acquires the properties (methods and fields) of another.
A
Inhertance
2
Q
The class which inherits the properties of other is known as _______ (derived class, child class) and the class whose properties are inherited is known as _______ (base class, parent class).
A
Subclass, Superclass
3
Q
is the keyword used to inherit the properties of a class. Following is the syntax of extends keyword.
A
extends
4
Q
A