how to get ot new line in java syso code example
Example 1: 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
Example 2: how to print \n in a string in java
System.out.println("\\n hello world");
// output:
// "\n hello world"