+ 2
How to print anything on next line in java as we use endl in C++
4 Respuestas
+ 4
System.out.println("Hello World");
Will print hello world and a line break
System.out.print("Hello World");
Will print hello world and will stay on the same line
+ 2
Thanks
+ 2
Thanks
+ 1
You are welcome