| The Java Language | CS 161 - Java |
Source: examples/Student1.java
/** Encapsulate information relating to a single student.
** @author: Jonathan Doughty
**/
public class Student1 {
public static void main(String args[]) {
Student1 aStudent = new Student1();
// When the above line is executed, a single, anonymous
// Student1 object is created, briefly.
}
}
|
jwd |