| Elements of the Java Platform | CS 161 - Java |
Source: examples/HelloClass.java
/* One of the simplest complete Java programs you can write
*/
public class HelloClass {
// This is a "method"; notice its name
public static void main(String[] args) {
System.out.println("Hello class, this is Java!");
} // this ends the method definition
} // this ends the class definition
|
jwd |