These methods are used just as their definitions describe - to get and set the value of a variable. This is typical when the scope of the variable is hidden, for instance through access modifiers...