Solved

Given the Data Assigned to the String Variable Str2 Shown

Question 55

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

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