public class Punto {
  int x,y; // Variables de instancia
  public Punto(int x, int y) { // El constructor
    this.x= x; this.y= y;
  }
  public void moverEn(int dx, int dy) { // Un método
    this.x+= dx; this.y+= dy;
  }

  // El metodo pedido
  public void moverA(int x, int y) { 
    this.x= x; this.y= y;
  }

  public String toString() {
    return "("+this.x+","+this.y+")";
  }
}
