What are the Differentiate between abstraction and encapsulation.



What are the Differentiate between abstraction and encapsulation...

Answer / Rajmala

Abstraction is a process of hiding the complex details and showing only the essential features to the user. It allows users to interact with objects without knowing their internal workings. Encapsulation, on the other hand, is a mechanism that binds together data and functions into a single unit called an object. The main purpose of encapsulation is to hide the implementation details from the user and provide a simple interface for interaction.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOAD Interview Questions

Explain the usage of encapsulation?

1 Answers  


Explain about message passing in object oriented programming?

1 Answers  


What is the use of destructive method?

1 Answers   Tech Mahindra,


Is it possible to override private virtual methods?

1 Answers   Infosys,


What is the difference between a class and an object?

2 Answers  


What are the features of encapsulation ?

1 Answers  


What is bootstrap, extension and system class loader?

1 Answers  


Write about abstract base classes?

1 Answers  


What is the difference between static and dynamic Classificaition.Give some examples.

1 Answers   InfoAxon Technologies, Protech, Wipro,


State two differences between an object and a class.

1 Answers   DELL,


What do you mean by "explicitly implemeting an interface". Give an example?

1 Answers  


What is the benefit of using inheritance?

1 Answers  


Categories