```
public class SubiectLicentaTrei {
    public static void main(String args[]) {
        double d = 12.34;
        ScadeUnitate su = new ScadeUnitate();
        su.scadeUnitate(d);
        System.out.println(d);
    }
}

class ScadeUnitate {
    public void scadeUnitate(double d) {
        d = d - 1.0;
    }
}

```

Outputs 12.34 when I expect 11.34.