What is abstraction encapsulation?



What is abstraction encapsulation?..

Answer / Jaldhari Meena

Abstraction and encapsulation are two fundamental principles of OOP. Abstraction refers to hiding the implementation details and showing only the essential features of an object, while encapsulation refers to bundling the data (attributes) and methods (functions) that operate on the data into a single unit (class).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

how to find the correct email address format by using the programe?

1 Answers   Accenture,


WHAT IS ABSTRUCT DATA TYPE ? PLEASE EXPLAIN IT.

4 Answers   HCL,


Why do we need oop?

1 Answers  


What is the use of oops?

1 Answers  


What is abstrac class?where is it use?

2 Answers  


What is abstraction in oops?

1 Answers  


Can we create object of class with private constructor?

5 Answers  


What is difference between #define and const?

3 Answers   emc2,


How many human genes are polymorphic?

1 Answers  


How to deploy web appliction in web logic ?

1 Answers   Unisys,


How do you explain polymorphism?

1 Answers  


c++ provides classes...and classes do what we want but why then strcut are used...if we say data hiding... it is also provided by c++ in structs then why to prefer clasess

1 Answers   HCL, TCS,


Categories