Type in (do not copy and paste) the following program into a file named HelloWorld.java and compile and run it.
class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); } }
There is en error in the following program. Try to compile it, read the error message, fix the error.
class BadHelloWorld { public static void main(String[] args) { System.out.println("Hello World); } }