In the 2- dimensional plane, a point is described by its two coordinates x and y. It supports these operations :
A constructor allowing initialization of both coordinates
Accessors and mutators to its coordinates
Translation of a point
a. Write a java class, called MyPoint, that corresponds to such an abstraction of points in the dimensional plane.
b. Provide a tester class that creates one point, then translates and displays its new coordinates.
Other samples, services and questions:
When you use PaperHelp, you save one valuable — TIME
You can spend it for more important things than paper writing.