Solved

Given the Data Assigned to the String Variable Str2 Shown

Question 22

Multiple Choice

Given the data assigned to the string variable str2 shown below, which of the following statements will assign the value ALL to the string variable str1?
str2 = "WHEN ALL ELSE FAILS, READ THE DIRECTIONS"


A) str1 = str2.Substring(5)
B) str1 = str2.Indestr1OfStr("ALL")
C) str1 = str2.Substring(6, 3)
D) str1 = str2.Substring(5, 3)

Correct Answer:

verifed

Verified

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

Related Questions