1. Consider the following array: int[] a = new int[100]; What is the last index of a? What is the value of a.length? 2. Give the definition of a static method called "getArrayOfHalves" that ahs an array of base type "double" as a single parameter and that returns another array whose base type and length are the same as those of the parameter, but whose elements have each been divided by 2.0. 3. What is wrong with the following code to initialize an array b? int[] b = new int[10]; for(int i = 1; i <= b.length; i++) b[i] = 5*i;