Object-Oriented Programming Concepts: Expert Level

Classes / Objects & Inheritance Abstract Classes, Encapsulation & Polymorphism Expert Level - Check My Answers
Class
A template or blueprint from which objects can be instantiated from.
Object
An instance of a class.
Abstract Class
A class which will not be used to instantiate objects.
Sub Class
The child class which inherits the methods and attributes from its parent class.
Encapsulation
"Hiding" properties and methods of a class from the "outside world" by making these private.
Over-loading Polymorphism
Implementing a method multiple times to accept different parameters.
Over-Riding Polymorphism
Implementing an inherited method differently in a sub-class.
Inheritance
When a sub-class inherits the methods and properties of a parent class.
Master Class
Also called parent class or base class.
Public
When a method or property can be accessed from outside the class.
Private
When a method or property can only be accessed from inside the class.
Getter
A public method used to retrieve the content of a private property.
Setter
A public method used to set/overwrite the content of a private property.
Attribute / Property
A variable defined within a class to store a value.
Method
A subroutine defined within a class to implement a behaviour.
OOP
Object-Oriented Programming
Constructor
A method of a class that is automatically called when an object is instantiated from this class.
Multiple Inheritance
When a class has two or more parent classes.