public class HelloWorld { public static void main(String args[]){ // If you use println java will put a newline at the end. System.out.println("HelloWorld"); System.out.print("HelloWorld"); System.out.println("HelloWorld"); } }