That's why we prefer to use getter and setter methods: public class Person { // This is Java private int age; public int getAge() { return ...
確定! 回上一頁