print endl java code example
Example: java how to go into newline while using print
// newline while using System.out.print();
System.out.print("First Line\nSecond Line");
//output:
//First Line
//Second Line
// newline while using System.out.print();
System.out.print("First Line\nSecond Line");
//output:
//First Line
//Second Line