DEV Community

Discussion on: OOP Principles For Dummies

Collapse
 
greengrer profile image
Greengrer

Thanks, this is very cohesive
Usually it's
"what is encapsulation" - theory
"how is it implemented in java" - access modifiers
"why is it important" -

And then
"why do you put private on a field" - idk, teacher said to always have the least access to things possible, idk why

Thank you for binding it together for dummies(I searced for oop principles in java for dummies)