OOP & Design Patterns - Encapsulation - Data Hiding, Getters/Setters & Access Modifiers
Which of the following is a downside of making all fields public to avoid writing getters and setters?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions