Write the declaration statement for an array named BMI to co
     Write the declaration statement for an array named BMI to contain up to 30 elements. ANS:  Are these two statement the same for declaring an array named income to have the capacity for 20 elements.  ANS:  Is this declaration correct to allocate 50 elements for an array named income 10 years. ANS: Cycle Yes No  Write the DOS statement that will allow a user to enter an integer value assign to the first element of an array named: w ANS:  Write the DOS statement that will extract the number of elements of an array named: w and assign to variable: g ANS:  Write the DOS statement that will allow a user to enter an integer value to be stored to the last element of an array named: w ANS:   
  
  Solution
11. int[] BMI = new int[30]; //Will declare an array named BMI with 30 elements.
12. Yes. Both the statements are the same. But is not named income. It is named a.
13. Yes. The statement is valid.
14. w[0] = new Scanner(System.in).nextInt(); //Gets the integer value and will assign to the first element of array w.

