A

Admin • 828.03K Points
Coach

Q. What does this print?
System.out.println("hello".toUpperCase());

  • (A) HELLO
  • (B) hello
  • (C) Hello
  • (D) Compile-time error

Explanation by: Admin
toUpperCase() converts all characters to uppercase.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.