Java's System.out.print code example
Example 1: system.out.println
public static void main(String[] args){
System.out.println("Hello World");
}
Example 2: system.out.println()
system.out.println("Hello world!");
public static void main(String[] args){
System.out.println("Hello World");
}
system.out.println("Hello world!");