1. If you know that you will have 1000 entries to add to a one-dimensional array, and you know how to resize an array, what length should the array have when it is first allocated? Explain your answer.
2. Define a static method doubleArray that accepts a one-dimensional array of strings as an argument and returns a one-dimensional array of the same strings, but with a length that is twice the length of the argument array.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here