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

Verified
Correct Answer:
Verified
Related Questions
Q25: Each array in Java has a public
Q48: A sorting algorithm is used to locate
Q54: Which of the following for loops is
Q54: Which of the statements are true about
Q55: Subscript numbering always starts at what value?<br>A)
Q56: This ArrayList class method deletes an item
Q57: The sequential search algorithm:<br>A) requires the array
Q59: This ArrayList class method is used to
Q60: To return an array of long values
Q64: What would be the results of the