public void sety(Diem y) { this.y = y; }
public Canh(Diem x, Diem y) { this.x = x; this.y = y; this.tenCanh = this.x.getTenDiem() + this.y.getTenDiem(); }
public void setX(Diem x) { this.x = x; }
public void sety(Diem y) { this.y = y; }
public Canh(Diem x, Diem y) { this.x = x; this.y = y; this.tenCanh = this.x.getTenDiem() + this.y.getTenDiem(); }
public void setX(Diem x) { this.x = x; }