Quiz · Strings · lesson 4 of 11
Quiz — toUpperCase without assignment
What does the program print?
public class Main {
public static void main(String[] args) {
String s = "java";
s.toUpperCase();
System.out.println(s);
}
}