http://www.cs.trincoll.edu/~cpsc115/
public class HelloWorld {
public static void main(String args[]) {
System.out.println("Hello World!");
}
}
public class HelloWorld {
public static void main(String args[]) {
System.out.println("Hello World!");
}
}
Change "Hello World!" to some other message by editing the
System.out.println() statement on line 3. Select
File -> Save to save the updated file. Re-run the program.
HelloWorld.java:4: ';' expected } ^ 1 errorAdd a semicolon and run your program again.
http://www.cs.trincoll.edu/~pyoon/unixtut/and complete Tutorials 1 and 2.
CPSC 115L home page