Java中的回车换行符/n /r /t

'\r'是回车,'\n'是换行,前者使光标到行首,后者使光标下移一格。通常用的Enter是两个加起来。

 

posted @ 2015-07-28 13:59  微软小菜鸟  阅读(530)  评论(0编辑  收藏  举报