Fixed toString() format.
This commit is contained in:
@@ -32,6 +32,6 @@ public class Point2 {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return String.format("(%d, %d", x, y);
|
||||
return String.format("(%d, %d)", x, y);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user