What is the difference between the Encapsulation and
Abstraction
Answers were Sorted based on User's Feedback
Answer / arsalan ansari
Abstraction basically showing the common and currently known
information to the user where encapsulation is hiding the
data details to the outside world
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / prajwal
Encapsulation is nothing but hiding information it is also
called as data hiding, while abstraction denotes the
essential characteristics of an object which differentiates
from other kinds of object.
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / tarun verma
Encapsulation means wrapping up something.
in programming generally data and methods are wrapped up
into a single unit called class. This wrapping is called as
encapsulation.
Abstraction means hiding the complexity of something and
just seeing it's overview.As We See A Car without Knowing
It's Inner Complexity.
In programming it is achieved by objects.
As we just invoke the methods with a object without knowing
it's details.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / priya
Encapsulation is merely securing and hiding the internal
data from the outside world.
Abstraction is a way of providing generalization.it
focuses more on what the object does instead of how it
does.
Example : A yahoo messanger.
Users know the way to exchange chat messages.But the
internals about how it is conveyed at the other end is not
know ..this is known as an abstraction.
| Is This Answer Correct ? | 3 Yes | 2 No |
Answer / moni
abstraction means hiding the data and encapsulation means
protecting the data through hiding
| Is This Answer Correct ? | 2 Yes | 2 No |
Answer / suman chowdary
Encapsulation is the process of compartmentalizing the
elements of an abstraction that defines the structure and
behavior. Encapsulation helps to separate the contractual
interface of an abstraction and implementation .
Abstraction defines the essential characteristics of an
object that distinguish it from all other kinds of an objects
| Is This Answer Correct ? | 9 Yes | 10 No |
Answer / praveen reddy
Encapsulation it's process of Binding the member variable
of a class along with member functions.
Abstraction is Hiding the implementation but provide the
services................
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / brijendra kumar(java xavient)
Encapsulation is to hide the code complexities from outside
world means in Encapsulation the implementaion, the client
can not see actual implementation classes.
Abstraction means we know about the object how it can be
used but we dont know how it is implemented. and we can
hide the data using the AccessSpecifiers.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / bala
Encapsulation: Binding of object and methods inside the single unit.
Abstraction:Hiding the details of data and methods from how it would be implemented.
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / praveen deshmukh
Encapsulation is related to object and abstraction is blong
to class
| Is This Answer Correct ? | 4 Yes | 6 No |
how many types of messages are their
what do you mean by psychic window?
What is the base class for most MFC classes?
is there any class which is not derived from Cobject
What is the difference between the Encapsulation and Abstraction
25 Answers HCL, Invensys, TCS, Wipro,
What is document-view architecture ? Give me one real time example for SDI ?
Differ GetMessage, PostMessage & PeakMessage?
Tell me the different controls in MFC ?
What is LPCTSTR? What does LP denote it?
What is socket?
1)How to change a text of a button in runtime?
what message is sent to an application when the user presses the primary button?