how to print on screen in java code example Example: output statement java System.out.println("Hello World");