1public class HelloPrinter {
2
3 public static void main(String[] args) {
4
System.out.println("Hello, World!");
5 }
6
7}
Stack
Stack frame
Literals
System.out.println(text)
 
Displays a greeting in the console