public class Circle { private final Point2D center; private final double radius; //constructors Circle(){ this.center = new Point2D(); this.radius = 1; } Circle(Point2D center, double radius){ this.center = center; this.radius = radius; } //methods Circle translate (double dx, double dy) { return new Circle( this.center.translate(dx, dy) , this.radius); } Circle translate (Point2D vect) { return new Circle( this.center.translate(vect) , this.radius); } }