How Encapsulation is different from Abstraction?? Can anyone Explain? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How Encapsulation is different from Abstraction?? Can anyone Explain?

10th Jan 2017, 2:22 PM
harsh gautam
harsh gautam - avatar
3 Answers
+ 6
Encapsulation is basically hiding something away, like in a pill. Abstraction is sort of putting something in a container, keeping it out of sight. Some help might be found here: http://stackoverflow.com/questions/742341/difference-between-abstraction-and-encapsulation
10th Jan 2017, 4:52 PM
J.G.
J.G. - avatar
+ 6
No problem. I like helping other people out, because I am in other peoples' positions in not knowing things a lot.
13th Jan 2017, 9:02 PM
J.G.
J.G. - avatar
0
thanks bro for the help
13th Jan 2017, 1:28 PM
harsh gautam
harsh gautam - avatar