Unit 3 Day 2 Quiz

#1 if "int[][] bothersomeArray = {{1,2,3,4},{2,3,4,5},{3,4,5,6}};", what is the value of bothersomeArray[1][2]?   

#2 Which of the following is a correct way to get the length of a 1-dimensional array?:
           

#3 How many rows are in thisArray when "int[][] thisArray = new int[5][6];"?:
           

#4 What is the first element (upper left) defined as in a 2-dimensional array?:
           

#5 Given the array "int[][] finalArray = {1,2,3,4},{5,6,7,8};", what is "finalArray[1][3]?:
           

  





 

-