Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 252 Bytes

File metadata and controls

13 lines (9 loc) · 252 Bytes

Question 3:

Why is encapsulation important? Explain the potential risks of not using getters and setters for properties of classes.

Example:

class Person { public String name; public String password; }


Your answer here