Explain the concept of abstracion and encapsulation with
one example. What is the difference between them?
Answer Posted / purba phalguni mishra, gandhi
ENCAPSULATION->
* It is a mechanism which unites the code and the data it
manipulates.
*It keeps them safe from external interference and misuse,
thus enforcing the separation between specification and
implementation of ADTs. Hence it enables the debugging of
program easily.
DATA ABSTRACTION->
* It is the creation of new data types [ADTs] using
encapsualted-items that are well suited to an application
to be programmed.
* It is a powerful technique resulting in optimal, more
readable and flexibles programs.
*******U r most welcome to challenge with my answer*****
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
How do you achieve runtime polymorphism?
What is polymorphism what are the different types of polymorphism?
Is abstract thinking intelligence?
Get me an image implementation program.
What are different oops concepts?
What is abstraction in oop with example?
What are functions in oop?
Why multiple inheritance is not allowed?
What are the 3 pillars of oop?
what's the basic's in dot net
Why do we need oop?
Explain the concepts involved in Object Oriented programming.
Give two or more real cenario of virtual function and vertual object
What is object in oops?
Can a destructor be called directly?