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. "Java".toUpperCase()
The correct method is toUpperCase(). So C is correct.

Computer Science & Information Technology

You might also like to view...

Write a program RecoverSignal that will read the binary file written by StoreSignal, as described in the previous exercise. Display the integer values that the data represents on the screen.

What will be an ideal response?

Computer Science & Information Technology

A business manager must think like a ________ when designing a database

Fill in the blank(s) with correct word

Computer Science & Information Technology

What is the default file extension for a regular Excel 2016 document?

A) .xls B) .xltx C) .xlt D) .xlsx

Computer Science & Information Technology

The ________ dialog box allows both linking and importing data sources

Fill in the blank(s) with correct word

Computer Science & Information Technology