Can we Pass a new-line ('\n') character or any other escape sequence via Command line in Java?One of our visitors (Vivek Athalye) asked this in response to the article - Tricky use of static initializer block. Thought of posting the answer as a separate article to increase the chances of it reaching to a wider range of audience.The answer to the query is NO. The question arises, if you pass the
This post first appeared on Geek Explains: Java, J2EE, Oracle, Puzzles, And Problem Solving!, please read the originial post: here