Skip to main content

The four pillars for OOPs are Abstraction, Encapsulation, Inheritance, Polymorphism.

Object-Oriented Programming(OOP), is all about creating “objects”. An object is a group of interrelated variables and functions.

These objects provide a better and clear structure for the program.

variables are often referred to as properties of the object and functions are referred to as the behavior of the objects.

 

  1. Abstraction
  2. Encapsulation
  3. Inheritance
  4. Polymorphism
    •   Method Overloading
    •   Method Overriding
  5. Class
  6. Object

 

OOPs concept broadly divide into two modules(code reusability and security)

Security:

Abstraction

Encapsulation

Code Reusability:

Inheritance

Polymorphism