+ 1

What is the difference between ENCAPSULATION and ABSTRACTION????

both the concepts are used to hide the implementation details to the end user

28th Sep 2017, 1:36 PM
mithun
1 Respuesta
+ 2
not necessarily true. Encapsulation is hiding information from user unless user retrieve data in designated way. Abstraction is to keep important property for object in one place. the purpose is to simplify, not to hide
28th Sep 2017, 5:03 PM
GraceYang