Difference | Sololearn: Learn to code for FREE!



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

5/30/2019 6:34:23 AM

Moeketsi Mokhatla

4 Answers

New Answer


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


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


Thank you all guys for clarity.