A class is a construct that is used to create instances of itself – referred to as class instances, class objects, instance objects or simply objects. A class defines members which enable it to have state and behavior. Data field members (member variables or instance variables) enable a class to maintain state. Other kinds of members, especially methods, enable the behavior of class instances.
It includes the following topics -