Skip to main content

Practice · 2 of 4

Repair the broken greeting

CHALLENGE
Difficulty: beginner+25 XP

The program below has THREE compile-time errors: a missing semicolon, a misspelled class reference (system must be System), and an unclosed string literal. Fix them so it prints: `` Fixed it myself ` `java public class Solution { public static void main(String[] args) { system.out.println("Fixed it myself") } } ``

Back to lesson: Practice: Practice: First Programs