You are viewing a single comment's thread. Return to all comments →
If you wanted to do it in one line.
System.out.printf("Hello, World.%nHello, Java.");
Seems like cookies are disabled on this browser, please enable them to open this website
Welcome to Java!
You are viewing a single comment's thread. Return to all comments →
If you wanted to do it in one line.