0
Difference
What is the exact difference between the methods print() and println()?
4 RĂ©ponses
+ 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.