Assume StringBuilder strBuf is "ABCCEFC", after invoking _________, strBuf contains "ABTTEFT".

a. strBuf.replace('C', 'T')
b. strBuf.replace("C", "T")
c. strBuf.replace("CC", "TT")
d. strBuf.replace('C', "TT")
e. strBuf.replace(2, 7, "TTEFT")


e. strBuf.replace(2, 7, "TTEFT")

Computer Science & Information Technology

You might also like to view...

You can control the number of significant digits in your output with the __________ manipulator.

a. setprecision b. set_precision c. to_fixed d. setfixed() e. None of these

Computer Science & Information Technology

A(n) ________ exists when two or more computers share either hardware or software resources

Fill in the blank(s) with correct word

Computer Science & Information Technology

? In the figure above, item _____ points to a named character reference.

A. 1 B. 2 C. 3 D. 4

Computer Science & Information Technology

A user states that their monitor is suddenly displaying garbled images, strange colors, and leaving cursor trails. The technician determines that the system is using an onboard graphics controller. Which of the following is the MOST likely cause of the display problem?

A. Defective power supply B. Fragmented hard drive C. Outdated firmware D. Defective RAM

Computer Science & Information Technology