getY method

double getY()

Implementation

double getY() {
  return y;
}