printline java code example Example: system.out.println public static void main(String[] args){ System.out.println("Hello World"); }