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