单项选择题

通过BufferedReader的readLine()方法读取数,如何判断流结尾?()

A.返回-1表示流结尾
B.返回null表示流结尾
C.返回1表示流结尾
D.遇到流结尾将抛出异常