Multiple Choice
For the following code, what would be the value of str[2]?
String[ ] str = {"abc", "def", "ghi", "jkl"};
A) a reference to the String object containing "ghi"
B) "ghi"
C) a reference to the String object containing "def"
D) "def"
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q15: You can use the _ method to
Q16: What will be the value of x[8]
Q17: If final int SIZE = 15 and
Q18: A(n) _ is used as an index
Q19: Which of the following is a valid
Q21: When an array is passed to a
Q22: Declaring an array reference variable does not
Q23: The _ indicates the number of elements
Q24: A search algorithm _.<br>A) arranges elements in
Q25: Each array in Java has a public