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 explain polymorphism?
What is debug class?what is trace class? What differences are between them? With examples.
What exactly is polymorphism?
Which method cannot be overridden?
which feature are not hold visual basic of oop?
Is abstract thinking intelligence?
Can bst contain duplicates?
What is encapsulation process?
How Do you Code Composition and Aggregation in C++ ?
What is difference between abstraction and encapsulation?
any one please tell me the purpose of operator overloading
what is the sylabus for priliminaries?
Why interface is used?
why reinterpret cast is considered dangerous?
What is inheritance write a program to show use of inheritance?