-->
当前位置:首页 > 题库

单选题:FileInputStream类的读取数据的方法read有三种重载形式:

Luz5年前 (2021-06-19)题库1066
FileInputStream类的读取数据的方法read有三种重载形式: 

public int read() throws IOException 

public int read(byte[] b) throws IOException 


public int read(byte[] b,int off,int len) throws IOException 

这三个方法返回值为(    )时,表示文件读取结束。





A.0
B.1
C.-1
D.不确定


答案:C