System . out . print (3 + " ) ; System . out . print (" and "3") ; 3 + System. out . println ("3" 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!");