Encapsulation
Hide data with private fields and expose getters/setters.
Lesson complete
Nice work. Replay it any time.
About this topic
Hide data with private fields and expose getters/setters.
Part of Java & Object-Oriented Programming: 23 topics, 5 free.