Unit 3 Day 1 Quiz

#1 What value is at index 2 of the array "int[] trickyArray = {1, 2, 3, 4, 5};"?   

#2 Which of the following is a correct way to declare an array "C" with a size of "n"?:
           

#3 Given "int[] theArray = new int[4];", what is the largest existing index for "theArray"?:
           

#4 What is the size of the array "int[] newArray = new int[7];"?:
           

#5 What is the value of element 3 of the array "int[] sneakyArray = new int[7];"?:
           

  





 

-