Tuesday, August 20, 2019

Print() vs Println () in JAVA

Print():-

Print is used to print the statement into the console and the control is available in the same line.
Ex:- System.out.print(“durgaSoftware”);
System.out.print(“core java”);
Output:-durgasoftwarecorejava

Println():-

In the println statement Print is used to print the statement into the console and ln represent go to the new line now the control is available in the next line.
Ex:- System.out.println(“durgasoftware”);
System.out.println(“core java”);
Output: - durgasoftware
Core java

No comments:

Post a Comment

AME (Approval Management Engine)

AME (Approval Management Engine) : AME Stands for Oracle Approval Management Engine. AME is a self service web application that enables...