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
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
What is encapsulation in oop?
What is polymorphism in oops with example?
What is encapsulation selenium?
Who invented oop?
Please send ford technologies placement paper 2 my mail id
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is the oops and benefits of oops programming?
Advantage and disadvantage of routing in telecom sector
What are classes oop?
Plese get me a perfect C++ program for railway/airway reservation with all details.
Where is pseudocode used?
what is difference between class template and template class?
Where You Can Use Interface in your Project
What are the 4 main oop principles?