Answers for Lab 9 1. Why does the compiler indicates an error in the first statement of method expandCapacity? 2. Why does compiler gives the error "i cannot be resolved to a variable" in the statement "rear = i;" of method expandCapacity, even though variable i was defined in the for loop? 3. Why does the program crash for test number 2? 4. Why does method "first" return "5" instead of "0"? Which method is incorrect? 5. When running test 4, which method is incorrect? What is the error in this method? 6. Why is it possible to have in the same array data items of 3 different types (Integer, String, and Exception)?