Java Lec03

LAST LECTURE EXAMPLE File: HelloWorldApp.java public class HelloWorldApp{ public static void main(String[] args) { System.out.println(“Hello world”); } } THINGS TO REMEMBER Name of file must match name of class It is case sensitive Processing starts in main public static void main(String[] args) Printing is done with System.out System.out.println, System.out.print Compile with “javac” Open DOS/command prompt …

Java Lec03 Read More »