0

is there is different between encapsulation and abstraction i really confusing

difference between encapsulation and abstraction

10th Jun 2017, 4:33 PM
nikhil
nikhil - avatar
2 Answers
+ 1
both hide the data?
10th Jun 2017, 5:23 PM
nikhil
nikhil - avatar
0
Encapsulation: hide variables or methods that are unnecesary out the class. Abstraction: inherit variables that some classes have, but are different in everyone.
10th Jun 2017, 4:51 PM
Andrés04_ve
Andrés04_ve - avatar