试题详情
多项选择题Which two create an InputStream and open file the “file.txt” for reading? ()

A、 InputStream in=new FileReader(“file.txt”);

B、 InputStream in=new FileInputStream(“file.txt”);

C、 InputStream in=new InputStreamFileReader (“file.txt”, “read”);

D、 FileInputStream in=new FileReader(new File(“file.txt”));

E、 FileInputStream in=new FileInputStream(new File(“file.txt”));

  • B,E
  • 关注下方微信公众号,在线模考后查看

热门试题