Download presentation
Presentation is loading. Please wait.
Published byYulia Widjaja Modified over 5 years ago
1
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 } }
2
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)
3
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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.