Basic Concept of oops C++ or Features of OOPs/C++




Basic Concept of oops
  • Object
  • Class
  • Inheritance
  • Polymorphism
  • Abstraction
  • Encapsulation
Object:
Object is Run time entity 

Class:
Class is a collection of Object or its a collection of data member and member function  is called as class

Inheritance:
Inheritance is reusability of code

Polymorphism:
Polymorphism is concept use of same thing in many way 

Abstraction:
Abstraction is hiding complexity

Encapsulation:
Encapsulation is about Security 

Comments