title: Java - Print strings showing newline characters
body: <p>I wish to print out strings to the console and it is important to see the exact string meaning that it should show the newline character <code>\n</code> in the logs.  So it will be <code>"this is the exact sequence of chars \n"</code> </p>