class A {
    private int field = 0;

    public int getField() {
        return field;
    }

    public void setField(int field) {
        this.field = field;
    }

    public void setField() {
        setField(0);
    }
}