// Miya Natsuhara // 08-09-2019 // CSE142 // TA: Grace Hopper // This class represents a point in the Cartesian plane (with an x- and y-coordinate). public class Point { int x; int y; // Translates the point by the given dx and dy. // int dx: translation of x-coordinate // int dy: translation of y-coordinate public void translate(int dx, int dy) { x += dx; y += dy; } }