Example for 4 pillar of oops like,
Inheritance,Poly,Abstraction,Encabsulation ?

Answers were Sorted based on User's Feedback



Example for 4 pillar of oops like, Inheritance,Poly,Abstraction,Encabsulation ?..

Answer / bapi

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

Example for 4 pillar of oops like, Inheritance,Poly,Abstraction,Encabsulation ?..

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

Example for 4 pillar of oops like, Inheritance,Poly,Abstraction,Encabsulation ?..

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

Post New Answer

More OOPS Interview Questions

What is difference between abstraction and encapsulation?

0 Answers  


What is the highest level of cohesion?

0 Answers  


What is the purpose of polymorphism?

0 Answers  


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?

1 Answers  


what is the definition of incapsulation

2 Answers  






Why a "operator=(...)" when there is a copy ctor?

2 Answers  


Do you know about multiple inheritance?

0 Answers   Motorola,


c++ program to swap the objects of two different classes

0 Answers  


how to find no of instances of an object in .NET?

1 Answers   Infosys,


Does c++ support multilevel and multiple inheritance?

9 Answers   IBS, Wipro,


What is static in oop?

0 Answers  


What is polymorphism and types?

0 Answers  


Categories