Multiple Choice
Which one of the following statements assigns the value 40 to the first element in an int array named values?
A) values[-1] = 40;
B) values[0] = 40;
C) values[null] = 40;
D) values[1] = 40;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q21: With what value should the accumulator variable
Q22: Each element in an array is assigned
Q23: You can store a mixture of data
Q25: The memory that is allocated for a
Q27: If you provide an initialization list when
Q27: To compare the contents of two arrays,
Q29: In C#, you cannot reassign an array
Q30: You can use the == operator to
Q31: It is critical to use reference parameters
Q66: Look at the following code sample: const