Changed toString()
This commit is contained in:
parent
247ec08bb7
commit
5c80a195ea
@ -32,6 +32,6 @@ public class _Point {
|
|||||||
|
|
||||||
public void setY(int y){ this.y = y; }
|
public void setY(int y){ this.y = y; }
|
||||||
|
|
||||||
public String toString(){ return String.format("(%d, %d)", this.x, this.y); }
|
public String toString(){ return String.format("Position (%d, %d)", this.x, this.y); }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user