阅读下列代码
Import java.io.*;
Public class Example {
public static void main(String[] args)throws Exception {
F

欢迎免费使用小程序搜题/刷题/查看解析,提升学历,成考自考报名,论文代写、论文查重请加客服微信skr-web


阅读下列代码
Import java.io.*;
Public class Example {
public static void main(String[] args)throws Exception {
File file = new File("itcast.txt");
FileInputStream in = new FileInputStream(file);
byte[] buff = new byte[1024]; // 定义一个字节数组,作为缓冲区
int len;
while ((len = in.________) != -1) { // 判断是否读到文件末尾
System.out.println(new String(buff,0,len));
}
in.close();
}
}
请说出下划线上,填写的方法名称( )
1分

A.read(buff)
B.read()
C.write(buff)
D.write()
正确答案A
访客
邮箱
网址

通用的占位符缩略图

人工智能机器人,扫码免费帮你完成工作


  • 自动写文案
  • 自动写小说
  • 马上扫码让Ai帮你完成工作
通用的占位符缩略图

人工智能机器人,扫码免费帮你完成工作

  • 自动写论文
  • 自动写软件
  • 我不是人,但是我比人更聪明,我是强大的Ai
Top