Initialization of structures without any constructor in Java

Rectangle rect = new Rectangle(); 
Size size = new Size();
size.width = 10;
size.height = 10;
rect.size = size;
Point point = new Point();
point.left = 5;
point.top = 5;
rect.point = point;

//The Java language has no structures  
class Size {
    public int widthheight;
}

class Point {
    public int topleft;
}

class Rectangle {
    public Size size;
    public Point point;
}