Stored properties in Java

class Point {
    //In Java there are no properties
    public int xy;
}

Point point = new Point();
//x and y is 0 (before assigning)
point.x = 3;
point.y = 7;