题目内容

下列程序实现对ZIP文件file.zip的检索,在横线处填入正确的语句()。 packagetest; importjava.io.*; importjava.util.*; importjava.util.zip.*; publiC.classExam { publicstaticvoidmain(String[]args){ try{ FilelnputStream zis=rlewFilelnputStream("test/file.zip"); ZiplnputStreamzis=newZiplnputStream(ns); ZipEntryen; while((______)!=null){ en.getName(); zis.closeEntry(); } zis.close(); } catch(Exceptione){ e.printStackTrace(); } } }

A. en=zis.getNextEntry()
B. en==zis.getNextEntry()
C. en=zis.getEntry()
D. zis.getNextEntry()

查看答案
更多问题

【C17】

A. last
B. latest
C. earliest
D. latter

一个Excel工作簿中最多可以包含256个工作表。

A. 正确
B. 错误

we are arranging for an inspection tour of _____the material was processed.

A. place
B. the place
C. where
D. there

听力原文:M: Can you stay for dinner?
W: I'd love to, but I have to go and send some registered mail before picking up the children from school
Q: Where will the woman go first?
(19)

A. To the school.
B. To a friend's house.
C. To the post office.
D. Home.

答案查题题库