new BufferedReader(new FileReader("1.txt")) (line = in.readLine()) !=null
in.readLine())读出来的数据会默认把换行符去掉吧
------解决思路----------------------
Returns:
A String containing the contents of the line, not including any line-termination characters, or null if the end of the stream has been reached.
java API 对readline是这样说的,不包含换行与回车。