Question: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
+ Explanation
+ Report
Total Preview: 3278

Copyright © 2024. Powered by Intellect Software Ltd