This is your first assignment that involves programming. It is meant to be a moderately easy in order to give everyone a chance to try out Java. Even though this assignment is not difficult you should start early to ensure that you have enough time to complete it. Programming, especially when using an unfamiliar language, can be time-consuming. You need to create a class that implements the ADT Rectangle.
Rectangle is actually a hyper-rectangle since it is supposed to work for any dimension.
It is an error if the corners are different dimensions. It is an error if the point is the wrong dimension. Points on the boundary are considered to be contained within the Rectangle. If the rectangles don't intersect then null should be returned. Any kind of reasonable and useful representation is acceptable.