9-JAVA英面试题.docVIP

  • 51
  • 0
  • 约1.54万字
  • 约 8页
  • 2017-03-06 发布于贵州
  • 举报
9-JAVA英面试题

QUESTION 1 Which two create an InputStream and open file the file.txt for reading? Choose Two 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 ; QUESTION 2 Which two construct an Outputstream that appends to the file file.txt? Choose Two ?A. OutputStream out new FileOutputStream file.txt ; B. OutputStream out new FileOutputStream file.txt, append ; C. FileOutputStream ou

文档评论(0)

1亿VIP精品文档

相关文档