when \n is in a string, is not printed java code example
Example: how to print \n in a string in java
System.out.println("\\n hello world");
// output:
// "\n hello world"
System.out.println("\\n hello world");
// output:
// "\n hello world"