0
How can I output 'hello world' in java?
Im learning java but i dont know how to output some text.
3 Respostas
+ 4
System.out.println("hello world");
It prints a line of text and a line break afterwards.
+ 4
System.out.print("Hello World");
it prints a line of text without a line break afterwards
+ 2
thank you ;)