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 difference between abstraction and encapsulation?
What is the highest level of cohesion?
What is the purpose of polymorphism?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
what is the definition of incapsulation
Why a "operator=(...)" when there is a copy ctor?
Do you know about multiple inheritance?
c++ program to swap the objects of two different classes
how to find no of instances of an object in .NET?
Does c++ support multilevel and multiple inheritance?
What is static in oop?
What is polymorphism and types?