is a print statement a return java code example
Example 1: java print statement
System.out.println("print your String");
Example 2: print statement in java
System.out.println("Hello!"); //prints then ends line
System.out.print("Hello!!");//prints without line spacing