• Register
0 votes
472 views

Problem:

I am new, I need help, can anyone help me?
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")
5.4k points

Please log in or register to answer this question.

1 Answer

0 votes

Solution:

The correct answer is: "Java".toUpperCase()
  
Hope this might help you.
10.5k points