WHAT IS THE DIFFERENCE BETWEEN ABSTRUCTION AND
ENCAPSULATION?
PLEASE EXPLAIN IT.
Answer Posted / narender_niit
abstraction:
abstraction means providing the relevant information only
and hiding other information..
encapsulation:
encapsulation means capsuling of data in the class..in
encapsulation the data members are declared in a class.and
we u want to use that variables only the copy of the
variables goes there which we use in other public
classes.this generates the concept of information hiding.
encapsulation also provide scurity to the data variables
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
How to use CMutex, CSemaphore in VC++ MFC
What are the three parts of a simple empty class?
What is polymorphism explain its types?
What language is oop?
What is inheritance write a program to show use of inheritance?
What is encapsulation example?
Can main method override?
What is encapsulation process?
What is object in oop?
What is the purpose of polymorphism?
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.
what type of questions
What is difference between data abstraction and encapsulation?
Which is not an object oriented programming language?
What do you mean by abstraction?