Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Ponto {
- private int x;
- private int y;
- public int getX() {
- return x;
- }
- public void setX(int x) {
- this.x = x;
- }
- public int getY() {
- return y;
- }
- public void setY(int y) {
- this.y = y;
- }
- public Ponto(int a, int b){
- this.x = a;
- this.y = b;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement