Initialization of structures with a constructor in Java

Size size = new Size(10, 10);
Point point = new Point(5, 5);
Rectangle rect = new Rectangle(sizepoint);

//The Java language has no structures  
class Size {
    public int widthheight
    
    public Size (int widthint height) {
        this.width = width;
        this.height = height;
    }
}

class Point {
    public int topleft
    
    public Point (int topint left) {
        this.top = top;
        this.left = left;
    }
}

class Rectangle {
    public Size size;
    public Point point
    
    public Rectangle (Size size, Point point) {
        this.size = size;
        this.point = point;
    }
}