public class Rectangle {
    public static int x = 0;
    public int y;
}

public class Main {
    public static void main(String[] args) {
        Rectangle rectangle = new Rectangle();
        rectangle.x = 1;
        rectangle.y = 2;
    }
}