1. Define the method getPoint for the class RandomPoint. This method should return a new Point object that represents the coordinates of the random point.
2. Consider a class named Circle that is analogous to the class SquareBox. A Circle object can signal whether a given point lies within or outside of its boundary. Write definitions for the methods isInside and isOutside.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here