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 |
Explain the usage of encapsulation?
Explain about message passing in object oriented programming?
What is the use of destructive method?
Is it possible to override private virtual methods?
What is the difference between a class and an object?
What are the features of encapsulation ?
What is bootstrap, extension and system class loader?
Write about abstract base classes?
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.
What do you mean by "explicitly implemeting an interface". Give an example?
What is the benefit of using inheritance?