Register now or log in to join your professional community.
The main reason is encapsulation
because the function of setter uses to set a value for private variable , and function getter to get the value
Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.