Define encapsulation
All of the object’s attributes are contained and hidden in the object by giving them the private access modifier. They are accessed through public getter and setter methods.
Define instantiation
The process of creating an instance of a class.
Define a class
A blueprint for creating an object.
Define an access modifier
For example public and private which can be applied to attributes and methods in the class. Private means the attribute or method can not be accessed by code in another class while public means it can.
Define an attribute.
A specific piece of data representing a particular characteristic of an object.
Define a constructor.
A method that is called when creating an instance (object) of a class.
Define an object.
An instance of a class.
Define methods.
For example getters and setters and other subroutines that define the behaviour of the object.