What will the following code output? String message = Have a great day!; System.out.println(message.toUpperCase()); System.out.println(message);

Question:

What will the following code output? 

String message = "Have a great day!";
System.out.println(message.toUpperCase());
System.out.println(message);

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: