To provide controlled access to fields. Frame the concept in practical terms so you can explain it during interview discussion.
Getter methods allow controlled access to an object's private fields without exposing the fields directly. This enables safe data retrieval while maintaining encapsulation. For example, a User class might have a private email field accessible through a getter method, ensuring the field remains private while allowing external access to its value.
Additional Notes
Why does getter methods in encapsulation matter in this design?