A. Create a class Point, which has two double instance variables for x and y coordinates. Create two constructors and all setters and getters as usual.
B. Create a class Rectangle, which can be specified with the upper left corner as a point, plus length, and width. Create three instance methods: public double area(), public double perimeter(), and public boolean greaterThan(Rectangle r). A rectangle a is greater than b if and only if a has a greater perimeter and area than b.
C. Answer the questions below.

