Skip to main content

Practice · 5 of 5

Debug the method call

CHALLENGE
Difficulty: beginner+25 XP

shout(s) should return s in uppercase, but the code does not compile. Fix the single syntax error (a method call needs parentheses), keeping the behavior.

Back to lesson: Practice: String surgery