import java.io.*; class OutputDemo { public static void main(String[] args) { // using print() // both are printed in the // same line System.out.print("AimToCode"); System.out.print("AimToCode"); // using println() // both are printed in the // next line System.out.println("AimToCode"); System.out.println("AimToCode"); } }