1. The class CalendarDate appears . Define a method for this class that tests whether two CalendarDate objects are equal. Name the method equals, make its return type boolean, and invoke it by using an expression such as
obj1.equals(obj2).
2. Write Java statements to create two CalendarDate objects and compare them for equality by using the method equals described in the previous exercise. Display an appropriate message.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here