0

encapsulation

i study about this in net and i recognized that" encapsulation is just a class with private data and functions" i.e. is a special class which we want to give it a name. am i correct?

11th Dec 2016, 1:30 PM
parisa
parisa - avatar
1 ответ
+ 3
encapsulation(not class) is a concept - to wrap up data and functions together. and class implements encapsulation. its that simple
11th Dec 2016, 1:36 PM
manish rawat
manish rawat - avatar