A Java Application public class Hello { public static void main(String [] args) { System.out.println("Hello, World!"); } } public class System { PrintStream out; } public class PrintStream { public static void println(String arg) { // carries out the print method } }
A Java Application Players Actions Hello, System, PrintStream (out is the name of one of these) Actions main (controls the action) println(sends output to an output stream)
Reading the statement System.out.println(“Hello”); System’s out’s println method. out is a member of System and println is a member of out.