Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Point
- {
- public int x;
- public int y;
- public Point(int x , int y)
- {
- this.x = x;
- this.y = y;
- }
- public String toString()
- {
- return "(" + x + ";" + y +")";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement