Write a Point class that stores an x and a y. Give it a constructor taking both, and getX and getY methods that hand them back.
class Point { Point(int x, int y); int getX(); int getY(); }
Examples
There are also 3 hidden tests you can't see. Solve the problem, not the examples.