Encapsulation
Access modifiers, getters and setters, and what you actually gain by hiding a field.
0 of 8 answered
Start here
What encapsulation actually means
Foundation
- Not triedWhat encapsulation actually meansFoundation
- Not triedWhy make a field private?Foundation
- Not triedWhy restrict access at allFoundation
- Not triedAn object that cannot be wrongCore
- Not triedHanding out a reference to the insideCore
- Not triedThe private field anyone can modifyCore
- Not triedA getter that breaks encapsulationChallenge
- Not triedThe getter that broke encapsulationChallenge