Computer Science, asked by divyanshi261, 1 year ago

HeÿA frndz ✌ ✌ ❗❗

✨ What is difference between println statement and print statement

#answer in brief
#computer science

Answers

Answered by Anonymous
9
I hope it will help you....
print = print on line
println = print on line, then move to next line

For example:

System.out.print("Hello")
System.out.print("there!")

This will print: 

Hellothere!

But:

System.out.println("Hello")
System.out.println("there!")

...will print:

Hello
there!

Anonymous: Thanks
Similar questions