Skip to main content

What are the features of Object Oriented Programming features ? OOP features





Object Oriented Programming (OOP) has the following important features.


Class

    A Class is a blueprint (plan or template) of an object that contains variables for storing data and functions to perform operations on the data.

Object

    Object is an instance of a class and basic run-time entities of an object oriented system. They may represent a person, a place or any item that the program must handle.

Abstraction

    Abstraction is "To represent the essential feature without representing the background details."

Abstraction is the process of hiding the working style of an object, and showing the information of an object in an understandable manner.

Encapsulation

    Wrapping up a data member and a method together into a single unit (class) is called Encapsulation.

Encapsulation means hiding the internal details of an object, in other words how an object does something.

Encapsulation is a technique used to protect the information in an object from another object.

Inheritance

   When a class includes a property of another class it is known as inheritance.

Inheritance is a process of object reusability.

Polymorphism

   Polymorphism means one name, many forms.

One function behaves in different forms.

In other words, "Many forms of a single object is called Polymorphism."

Comments