1. What are the advantages of using a list instead of an array to hold a group of objects?
2. Write a Java statement to create an array list, named studentList, that will contain Student objects. The initial capacity of the list should be
a. 10
b. 100
3. Explain why an addition to an array list might require significantly more execution time than the addition that precedes it.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here