Example for 4 pillar of oops like,
Inheritance,Poly,Abstraction,Encabsulation ?
Answers were Sorted based on User's Feedback
INHERITANCE:It is a process through which one class
accuries the properties of another class.
ENCAPSULATION:It is a mechanisim through which we can bind
data and code in a single unit and it privents to access
out side of the world.
POLYMORPHISM:Ability to take more than one form.
ABSTRACTION:It focous the assiential characteristics of an
object.
| Is This Answer Correct ? | 42 Yes | 2 No |
Answer / sanjeevkumar.v
data hiding,
INHERITANCE-- aquring base class property to derived class
POlYMORPHISM-- defferent form of functions
ENCAPSULATION-the wrapping of data is a single unit is
called as encapsulation
abstraction--the grouping of data is abstraction
| Is This Answer Correct ? | 23 Yes | 6 No |
Answer / sikendar
Inheritance is nothing but,it is mechanism of driving a new class from base class.
| Is This Answer Correct ? | 13 Yes | 7 No |
What is multilevel inheritance explain with example?
How do you explain polymorphism?
write a program to print * * * * * *
What do you mean by Encapsulation?
What is design patterns in C++?
c++ program to swap the objects of two different classes
What is an object?
Can we create object of interface?
When is it necessary to use member-wise initialization list in C++?
What is sub classing in c++?
write a short note on Overloading of Binary Operator?
what is difference between c++ language and java language