Java encapsulation... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Java encapsulation...

My mind says what????????? I totally don't get it.

26th Apr 2017, 4:32 AM
Markita OGilvie
Markita OGilvie - avatar
3 Answers
+ 5
I already watched those videos some time ago when I first got into programming, I should re-watch them. Thanks!
26th Apr 2017, 4:41 AM
Markita OGilvie
Markita OGilvie - avatar
+ 3
you should use the new boston tutorials in order to learn java, it's on youtube
26th Apr 2017, 4:35 AM
Omer Katz
Omer Katz - avatar
+ 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
2nd May 2017, 5:01 AM
Harsha Vardhan
Harsha Vardhan - avatar