Of the following statements, which one correctly initializes an int array named quarters with the values 1, 2, 3, and 4?
a. const int SIZE = 4;
int[] quarters = new int[SIZE] { 1, 2, 3, 4 };
b. int[] quarters = new int[] { 1, 2, 3, 4 };
c. int[] quarters = { 1, 2, 3, 4 };
d. All of these statements are correct.
d. All of these statements are correct.
Computer Science & Information Technology
You might also like to view...
The ____ property of a ListBox object identifies which item in the ListBox was selected.
A. Item B. ItemSelected C. Selected D. SelectedItem
Computer Science & Information Technology
The three types of languages discussed in the chapter are ___________ , ________________ and________________.
Fill in the blank(s) with the appropriate word(s).
Computer Science & Information Technology