I am new to programming with JAVA and therefor I need some help.
This is the code I would need in order to review and get a better understanding of this new programming language:
> *Create a class "rectangle",
> • in their data spans 2 points coordinates can be left lower and
> upper-right corner,
> • must contain 2 constructors (initialization with 0 and initialization with passed on values)
> • and methods to:
> o move the rectangle
> o to calculate the surface area
> o and to determine whether a given point is within the rectangle.
> Before, create a class "point", that gets an X and a Y-value as an attribute (with appropriate access methods).
> Implement a test environment with a main class, the main -