Which of the following will create the String r1 = "a TOYOTa"?
```
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...
Which of the following terms is not used to refer to a sentinel value that breaks out of a while loop?
a. signal value. b. maximum value. c. dummy value. d. flag value.
The ability to capture and analyze all customer interactions, generate appropriate responses, and gather data to create and build effective and efficient marketing campaigns is known as contact management.
Answer the following statement true (T) or false (F)
A split form displays data in which two views?
A) Datasheet view and Form view B) Design view and Form view C) Form view and Layout view D) Layout view and Design view
The print queue shows information about jobs that are waiting to print.
Answer the following statement true (T) or false (F)