Fixed toString() format.

This commit is contained in:
Harrison Deng 2020-04-27 13:58:39 -05:00
parent 3efc6acf0b
commit 59d78c9754

View File

@ -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);
}
}