1. How many methods are required for a class that implements Cloneable?
2. Write a class, ArrayIterator, which implements the Iterator interface. The constructor has one argument, which is an array of E objects. The ArrayIterator returns the components of the array one at a time through its next method.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here