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
What is variable example?
Get me an image implementation program.
What is the real time example of inheritance?
Advantage and disadvantage of routing in telecom sector
What is methods in oop?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
Why do we use class?
program for insertion ,deletion,sorting in double link list
write a program that takes input in digits and display the result in words from 1 to 1000
What is encapsulation in oops?
What is difference between multiple inheritance and multilevel inheritance?
What does enum stand for?
What are properties in oop?
What is the purpose of polymorphism?
What is overloading in oop?