JanaGanaMana
Register
Login
Musings
Public · Protected · Private
All Blogs
Difference between abstraction and encapsulation
Type:
Public
|
Created:
2012-08-12
|
Frozen:
Yes
« Previous Public Blog
Next Public Blog »
Comments
Encapsulation
is
hiding the implementation details
hiding the internal details or mechanics of how an object does somethinghiding
Abstraction
is
providing a generalization (say, over a set of behaviors).
hiding the internal details or mechanics hiding the internal details or mechanics
information hiding is
about hiding internal properties that may not matter to consumer directly.
2012-08-12 23:15
This blog is frozen. No new comments or edits allowed.
Encapsulation is
Abstraction is
information hiding is