I couldn't differentiate encapsulation and abstraction.. can any one clarify my doubt by telling a strong difference between the two ??
Printable View
I couldn't differentiate encapsulation and abstraction.. can any one clarify my doubt by telling a strong difference between the two ??
You're kidding right? I can tell the difference just by referring to an english language dictionary
Encapsulation (v) : to become enclosed in or as if in a capsule.
Abstraction (n): the act of considering or thinking about something as a general quality or characteristic, apart from concrete realities, specific objects, or actual instances.
Now, okay, these definitions are not specific to object oriented design nor to C++. But the meanings are completely consistent.