+ 1
What is the difference between println and print in Java?
I need to know this because we can run the system easily usiny both. But there is everything with a reason, it says. So, I wan to know it.
2 odpowiedzi
+ 3
Sudhanshu Kumar Jha , println method ads a line break and continue to the next line. Print method puts everything on the same line.
+ 1
Btw: If you have a question in Java then use only the tag java and not javascript. There are two different languages.
Tags: java println print difference
(Tags are useful for thr search function.)