When we talk about any programming language there is always the needs to learn the approach on which it is based on and when we talk about C++ it is based upon OOPS(Object Oriented Programming Structure).
OOPS concept enable us to program in C++ with various facilities such as helps u code and interact with the user .Now the concepts of OOPS are:
Data Abstraction:It hides the essential features without including background explanation.
Encapsulation:The wrapping up of data members and member function into a single unit.
Modularity: This property enables to data to be stored in the form of some couple of modules which we often call as functions.
Inheritance:- It is the capability of one class to inherit the data members of other class
Polymorphism: Polymorphism is a ability of a message to display more then one meaning.
Comments