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');

Computer Science & Information Technology

You might also like to view...

________ software allows you to edit and manipulate digital video

Fill in the blank(s) with correct word

Computer Science & Information Technology

WEP also does not use a key management, and its what type of key never changes.

What will be an ideal response?

Computer Science & Information Technology