+ 4
Java encapsulation...
My mind says what????????? I totally don't get it.
3 Answers
+ 5
I already watched those videos some time ago when I first got into programming, I should re-watch them. Thanks!
+ 3
you should use the new boston tutorials in order to learn java, it's on youtube
+ 1
encapsulation is an object oriented concept.. let's make it simple... there is a pen.. it has colour ink.. etc likewise we can write refill etc..likewise technically speaking there is a class which has attributes and methods
here:
pen - class
colour - attribute
write - method
encapsulation is referred here because a pen bounds all these properties and methods..
hope it helped