Go to the profile of  Suraj Patidar
Suraj Patidar
Follow
I am machine learning and deep learning enthusiast.
1 min read

Object Oriented Programming in C++

Object Oriented Programming in C++
  • OOP's is a programming approach which revolves around the concept of "Object".
  • Any Entity in the system that can be defined as a set of priorities and set of operations performed using entities property set is known as object.

5 key elements of OOP's

1)Encapsulation:

2)Data-Hiding:

3)Abstraction:

4)Polymorphism:

5)Inheritance:

Concepts of Class and Objects

  • Class is a blueprint of object.
  • Class is a description of object's property set and set of operations.
  • Creating class is as good as defining a new data type.
  • Class is mean to achieve encapsulation.