Explore Library
Code QuizBeginner

Printing a Line

Identify why this print statement fails to compile.

Codejava
public class Demo {
    public static void main(String[] args) {
        System.out.printLn("Hi there");
    }
}

Why won't this code compile?