Object Oriented Programming

Concept of OOP

Class and Object

class is a user defined data type. Object is a run time entity of class

Features of class

Main features are encapsulation, polymorphism, inheritance and dynamic memory allocation.

What is the user defined data type for OOP?

  • Class
  • structure