I have a code like,
String str = \" \" ; while( cond ) { str = str + \"\\n\" ; }
Now, I don\'t know why at the time of printing, the out
Based on your sample, the only reason it would not show a new line character is that cond is never true and thus the while loop never runs...
cond