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 –

  • Classes Basics
  • Class Property
  • Class Constants
  • Constructor and Destructor
  • Class Visibility
  • Object Inheritance
  • Class Abstraction
  • Object Interfaces
  • Traits
  • Overloading
  • Object Iteration
  • Object Cloning
  • Objects and references