Professional Documents
Culture Documents
I. Terminologies
a. Inheritance –
o The mechanism in Java that allows extending the definition of a class
without making any physical changes to the existing class.
o “is-a” relationship.
o Inheritance relationship enables a subclass to inherit features from its
superclass. Furthermore, the subclass can add new features of its own.
b. Super class – or base class; existing class.
c. Sub-class – or the derived class; the new class created from an existing class.
d. Polymorphism – associating multiple meanings with the same method name.
e. Method overriding – a method which redefines the method of the superclass; same
signature and the same return type as in its superclass.
f. Method overloading – the corresponding method in a class has the same name but
different parameter lists.