Imagine that you’ve been asked to revise the class FourQuadrants, given. Instead of the data fields xAxis and yAxis, the revised class has four Point objects as its fields. These points are the endpoints of the axes and are named xAxis1, xAxis2, yAxis1, and yAxis2. Define the method getQuadrant for this definition of FourQuadrants.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here