toString method

  1. @override
String toString()
override

Returns a nice string representing the coordinate. @return {string} In the form (50, 73). @override

Implementation

@override
String toString()
{
  return "(" + this.x.toString() + ", " + this.y.toString() + ")";
}