Which of the following is the correct statement to return JAVA?

a. toUpperCase("Java")
b. "Java".toUpperCase("Java")
c. "Java".toUpperCase()
d. String.toUpperCase("Java")

c The correct method is toUpperCase(). So C is correct.

Computer Science & Information Technology

You might also like to view...

An exception is caught in a _________ block.

(a) try (b) catch (c) finally (d) all of the above

Computer Science & Information Technology

____ is a term used to describe a blanket of high-contrast pixels that produce a grainy effect over an image.

A. Blur B. Fuzziness C. Noise D. Contrast

Computer Science & Information Technology