A template or blueprint from which objects can be instantiated from.
A class which will not be used to instantiate objects.
The child class which inherits the methods and attributes from its parent class.
"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.
Implementing an inherited method differently in a sub-class.
When a sub-class inherits the methods and properties of a parent class.
Also called parent class or base class.
When a method or property can be accessed from outside the class.
When a method or property can only be accessed from inside the class.
A public method used to retrieve the content of a private property.
A public method used to set/overwrite the content of a private property.
A variable defined within a class to store a value.
A subroutine defined within a class to implement a behaviour.
Object-Oriented Programming
A method of a class that is automatically called when an object is instantiated from this class.
When a class has two or more parent classes.