Changed toString()

This commit is contained in:
HeshamTB 2020-08-31 12:49:10 +03:00
parent 247ec08bb7
commit 5c80a195ea
Signed by: Hesham
GPG Key ID: 74876157D199B09E

View File

@ -32,6 +32,6 @@ public class _Point {
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); }
}