Questions tagged as 'getters-setters'

1
answer

Error with constructor

MyCircle c = new MyCircle(2,5,8);/// Instanciei um objeto no main. public class MyCircle { private MyPoint center; private int radius=1; public MyCircle(int x,int y,int radius) { this.center.getX(x); ///na classe MyPoint...
asked by 11.05.2018 / 04:21