

MCQOPTIONS
Saved Bookmarks
1. |
Which one of the following will declare an array and initialize it with five numbers? |
A. | Array a = new Array(5); |
B. | int [] a = {23,22,21,20,19}; |
C. | int a [] = new int[5]; |
D. | int [5] array; |
Answer» C. int a [] = new int[5]; | |