java中的转义字符

\n 回车

\t 制表符

\b 退格

\r 按下回车键中

在windows中回车符是由2个符号组成的,\r\n

linux中回车符是\n

原文地址:https://www.cnblogs.com/xiaofan21/p/2948916.html