public class Test {
    private int myCount;

    public Test(int count) {
        myCount = count;
    }

    public int getCount() {
        return myCount;
    }

    public void inc() {
        myCount++;
    }
}
