String sentence;String str1, str2, str3, str4;int length1;sentence = "First exam is on Monday.";str1 = sentence.substring(6, 12);str2 = str1.substring(0, 4);str3 = sentence.replace('i', '#');str4 = sentence.indexOf("on");length1 = sentence.length();Based on the code above, what is the value of length1?
A. 20
B. 21
C. 24
D. 26
Answer: C
Computer Science & Information Technology
You might also like to view...
To determine percentage of absences in the ranges 0, 1 to 5, and more than 6, you would use the FREQUENCY function
Indicate whether the statement is true or false
Computer Science & Information Technology
XHTML can only add ________ content to a page
A) dynamic B) active C) interactive D) static
Computer Science & Information Technology
QR or ________ codes let any piece of print host a link to online information.
A. quick retention B. quick response C. quality response D. quality retention
Computer Science & Information Technology
Which of these ways of organizing a support center has both an expense budget and an income budget?
A. Profit center B. Cost center C. Income center D. Expense center
Computer Science & Information Technology