CJCoding With Joseph
15per day
← Back to Question List

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

Topics:
Java Quiz #18

String Immutability

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}