Solved

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

Question 50

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:

verifed

Verified

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents