Multiple Choice
Which one of the following statements assigns the value 40 to the first element in an array of integers 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
Q17: The .NET Framework provides a class named
Q18: Arrays are always passed by value when
Q19: The _ uses a loop to step
Q20: To sum all the elements of a
Q21: A partially filled array is normally accompanied
Q23: Memory allocated for a reference type variable
Q24: Because variables hold only single values, they
Q25: An array's Length property is read-only, so
Q26: You access the individual elements in an
Q27: If you provide an initialization list when