Instructions for DrJava can be found at http://www.cs.utsa.edu/~cs1063/resources/gettingstarteddrjava.html
Part 1: Setup - Find DrJava on your computer and execute it.
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
public static void main(String[] args) {
. . .
}
public class HelloWorld {
public static void main(String[] args) {
// display a greeting in the console pane
System.out.println("Hello World!");
}
}
/* This is a simple Java program It will print a greeting to the console */
Hello World!
System.out.println("Hello");
System.out.println("World!");