I do not understand why a property should be made private when there also are a public getter and setter.
class C{
private int i;
public int getI(){return i;}
public void setI(int i){this.i=i;}
}
Now the private property i is made public. It is as if you had done
class C{
public int i;
}
Or do I not understand something?