Difference | Sololearn: Learn to code for FREE!

0

Difference

What is the exact difference between the methods print() and println()?

5/30/2019 6:34:23 AM

Moeketsi Mokhatla

4 Answers

New Answer

+1

System.out.print(“text”); output: text<-next print begins here //////// System.out.println(“text”); output: text <-next print begins here

+3

println add automatically a new line at end while print dont (println mean "print line")

+1

Thank you all guys for clarity.