Solved

What Is the Value of Str After the Following Code

Question 7

Multiple Choice

What is the value of str after the following code has been executed?
String str;
String sourceStr = "Hey diddle, diddle, the cat and the fiddle";
Str = sourceStr.substring(12,17) ;


A) diddle
B) diddl
C) , didd
D) Iddle

Correct Answer:

verifed

Verified

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

Related Questions