Solved

For the Following Code, What Would Be the Value of Str[2]

Question 62

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions