Which of the following will create the String r1 = "a TOYOTa"?
Consider the String below:
String r = "a toyota";
a. String r1 = r.replace("toyot", TOYOT");
b. String r1 = r.replace('t','T');
r1 = r.replace('o','0');
r1 = r.replace('y','Y');
c. String r1 = r.replace('t','T').replace('o', '0').replace('y', 'Y');
d. String r1 = r.substring(2, 4).toUpperCase();
c. String r1 = r.replace('t','T').replace('o', '0').replace('y', 'Y');
You might also like to view...
The simplest way to adjust page breaks in a worksheet is in ____.
A. Page Break Preview B. Layout View C. Design View D. Controls View
"AZ" is an example of a ____.
A. column heading B. row heading C. cell reference D. Name box
A(n)____ function returns a single value from a group of values.
A. Aggregate B. Calculate C. Parameter D. WHERE
The Clipboard is an area of memory that is used to temporarily hold selections that you have cut or copied, and it allows you to paste the selections.
Answer the following statement true (T) or false (F)