1. Write a static method with one argument that is a Java Vector that contains Clock objects. The method returns true if at least one clock is in the morning; otherwise, the method returns false.
2. Write a static method with one argument that is a Java Vector that contains Clock objects. The method returns the clock that contains the earliest time. If the vector is empty, then the method returns null instead. Your method should work correctly with a Vector argument, or with a vector of objects that are a class that extends Clock.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here