1. Repeat the previous exercise, but this time use the class Circle, as described, in Cylinder’s definition.
2. Write Java statements that compare two given integers and assign one of the following values to the variable result:
• 0 if the integers are equal
• –1 if the first integer is less than the second
• 1 if the first integer is greater than the second
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here