Information hiding
It is common practice in object-oriented programming to cause an object to encapsulate:
The outside world can gain (sometimes restricted) access to the private instance variables only by using the public accessor functions.