Practice ยท 5 of 6
Speed: ignored return value
CHALLENGE
Difficulty: intermediate+25 XP
SPEED DRILL โ target under 90 seconds.
What is printed?
``java
String s = "exam";
s.toUpperCase();
System.out.println(s);
`
A. EXAM
B. exam
C. Exam
D. compile error
Call answer(...)` exactly once with your option letter and a one-sentence reason.
Press Submit to check your solution.
Back to lesson: Practice: Speed set: 90-second drills