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 outline for configuration management is detailed under what section of the ISO 12207 standard?
A. 7.1.1 B. 7.1.2 C. 7.2.2 D. 7.2.3
Computer Science & Information Technology
With the frame value ____, a border is drawn on the left and right sides of the table.
A. lrhs B. hsides C. vsides D. both
Computer Science & Information Technology
What is the extension for RPM packages?
A. .rpm B. .rpp C. .rpkg D. .pkg
Computer Science & Information Technology
What user account is known as the system administrator or super user account?
A. root B. sysadmin C. admin D. super
Computer Science & Information Technology