concepts of c++
oops
1) Abstraction
Abstraction means displaying only essential information and hiding the details. Data abstraction refers to providing only essential information about the data to the outside world, hiding the background details.
2) polymorphism
The word polymorphism means having many forms.
there are 2 types of polymorphism compile time and run time
while run time virtual function is being used
3Encapsulation
In normal terms Encapsulation is defined as wrapping up of data and information under a single unit. In Object Oriented Programming, Encapsulation is defined as binding together the data and the functions that manipulates them.
4)Inheritance
The capability of a class to derive properties and characteristics from another class is called Inheritance.
Comments
Post a Comment