• 2021-04-14 问题

    阅读下列代码importjava.io.*;publicclassExample{publicstaticvoidmain(String[]args)throwsException{FileInputStreamin=newFileInputStream("itcast.txt");intb=0;while(true){b=in.______;if(b==-1){break;}System.out.println(b);}in.close()}}下列选项中,填写在程序空白处正确的是()

    阅读下列代码importjava.io.*;publicclassExample{publicstaticvoidmain(String[]args)throwsException{FileInputStreamin=newFileInputStream("itcast.txt");intb=0;while(true){b=in.______;if(b==-1){break;}System.out.println(b);}in.close()}}下列选项中,填写在程序空白处正确的是()

  • 2021-04-14 问题

    阅读下列代码 import java.io.*; public class Example { public static void main(String[] args) throws Exception { FileInputStream in = new FileInputStream("itcast.txt"); int b = 0; while (true) { b = in.______; if (b == -1) { break; } System.out.println(b); } in.close() } } 请说出下划线上,填写的方法名称

    阅读下列代码 import java.io.*; public class Example { public static void main(String[] args) throws Exception { FileInputStream in = new FileInputStream("itcast.txt"); int b = 0; while (true) { b = in.______; if (b == -1) { break; } System.out.println(b); } in.close() } } 请说出下划线上,填写的方法名称

  • 1