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