Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- public class Point {
- private int x;
- private int y;
- private boolean signification;
- private boolean visitation = false;
- public Point(int X, int Y){ x = X; y = Y; }
- public void setSignification(boolean flag) { signification = flag; }
- public void setVisitation(boolean flag){ visitation = flag; }
- public boolean getSignification() { return signification; }
- public boolean getVisitation(){return visitation;}
- public int getX(){ return x; }
- public int getY(){ return y; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement