.print vs .println code example
Example: difference between print and println in java
println automatically adds a new line when it prints but print does not.
println automatically adds a new line when it prints but print does not.