Inheritance=Inheritance allows use to define
The class from which the new class in herits properties data memberand member function is called vase classs and the new created class is clled derived class
syntax class derived classs accesss.
// data member and member function of derived classs:
Polymorphism In simple words we can define polmorpsism as the ability of a meesage to be displayed in more than one from polymorphism important and basic concept of oops.
polymorphism in manily divided in to types
1= compile time polmorphism
compile time 1 function overloading 2 opertor overloading template
2=rum time polymorphism 1 function overloading
Encapsulation= it is one of the most important feature of oops that used to rapping the data and function in to a single unit. The data of class is not accessible to outside the class
4 =Abstraction is the one of the most important feature of oops which is showing only the essential information to the out side would and hiding the intend details
abstraction