Difference between print() and println() in Java

Source code :

import java.io.*;
class Program
{
	public static void main (String[] args)
	{
    System.out.print("Aro");
    System.out.println("liant");
    System.out.print("A Team on Tech");
	}
}

Output :

Aro
liant A Team on Tech

Output :


                

Comments :