what is the difference between print() and println() method
Answers
Answered by
5
Answer:
Difference between print() and println() in Java
As we know in Java these both methods are primarily used to display text from code to console. ... The prints method simply print text on the console and does not add any new line. While println adds new line after print text on console.
Explanation:
hope it help
you pls follow me
Similar questions