0
Difference
What is the exact difference between the methods print() and println()?
4 ответов
+ 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.