What is the difference between print () and println ()
Answers
Answered by
1
Answer:
What is the difference between print () and println ()
Answered by
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