A class has private int age and a public setAgeint a that rejects… | Encapsulation question · AnyPrep