Assume s is "ABCABC", the method __________ returns a new string "aBCaBC".

a. s.toLowerCase(s)
b. s.toLowerCase()
c. s.replace('A', 'a')
d. s.replace('a', 'A')
e. s.replace("ABCABC", "aBCaBC")


c. s.replace('A', 'a')
e. s.replace("ABCABC", "aBCaBC")

Computer Science & Information Technology

You might also like to view...

Give an example of a schedule executing at SNAPSHOT isolation in which two transactions each introduce a phantom that is not seen by the other transaction, resulting in incorrect behavior. Assume that the data items referred to in the description of SNAPSHOT isolation are rows.

What will be an ideal response?

Computer Science & Information Technology

The equipment that processes data in order to create information is called the ________.

A. compiler B. software C. hardware D. typology

Computer Science & Information Technology

When you don't provide an initial value for each of the elements in an int array, many C++ compilers initialize the uninitialized elements to what integer?

A. 1 B. -1 C. 0 D. ""

Computer Science & Information Technology

You can divide a DTD into _____ parts.

A. two B. three C. five D. seven

Computer Science & Information Technology