FileInputStream是字节流,BufferedWriter是字符流,ObjectOutputStream是______。

阅读下面程序
import java.io.*;
public class ExceptionCatch
 public static void main(String args[])
  try
   FileInputStream fis=new FilelnputStream("text");
   System.out.println("content of text is:");
   catch(FileNotFoundException e)
   System.out.println(e);
   System.out.println("message:"+e.getMessage( ));
   e.printStackTrace(System.out);
   ______
   System.out.println(e);
  
 

为保证程序正确运行,程序中下画线处的语句应是

A:catch(FileInputStream fis) B:e printStackTrace() C:catch(IOExceptione) D:System.out.println(

阅读下面程序 import java.io.*; public class ExceptionCatch {  public static void main(String args[]) {   try {    FileInputStream fis=new FilelnputStream("text");    System.out.println("content of text is:");   } catch(FileNotFoundException e) {    System.out.println(e);    System.out.println("message:"+e.getMessage( ));    e.printStackTrace(System.out);   } ______ {    System.out.println(e);   }  } } 为保证程序正确运行,程序中下画线处的语句应是

A:catch(FileInputStream fis) B:e printStackTrace() C:catch(IOException e) D:System.out.println(e)

FileInputStream是字节流,BufferedWriter是字符流,ObjectOutputStream是______。

FileInputStream是字节流,BufferedWriter是字符流,ObjectOutputStream是【 】。

FileInputStream是字节流,BufferedWriter是字符流,ObjectOutputStream是()。

微信扫码获取答案解析
下载APP查看答案解析