Computer Science, asked by josh2919, 1 month ago

What is the difference between print () and println ()​

Answers

Answered by vinaydhuriya18
1

Answer:

What is the difference between print () and println ()

Answered by Anonymous
4

Answer:

Basic difference between these two is

print() : prints the argument passed to this method.

println(): println prints the argument passed and a cursor goes to newline newline.

Both print and println are methods of PrintStream class, used for formatting purpose.

Explanation:

hope it's helpful

Similar questions