CJCoding With Joseph
15free / daySign inCreate account
Back to Multiple Choice Quiz

Select topics to narrow your question pool, then enable Random to jump to a random question matching your filters.

Topics

String Immutability

Java quiz · Question 18
mediumStrings

What is printed?

Code

1public class Main {
2 public static void main(String[] args) {
3 String s = "hello";
4 s.toUpperCase();
5 System.out.println(s);
6 }
7}