![](https://lstatic.shangxueba.com/sxbzda/h5/images/m_q_title.png)
下面程序实现对zip文件file.zip的查询,在横线处填上正确的语句______。package test;import java.
下面程序实现对zip文件file.zip的查询,在横线处填上正确的语句______。 package test; import java.io.*; import java.util.*; import java.util.zip.*; public class Exam{ public static void main(String[ ]args){ try{ FileInputStream fis=new FileInputStream("test/file.zip"); ZipInputStream zis=new ZipInputStream(fis); ZipEntry en; while((______)!=null){ en.getName(); zis.closeEntry(); } Zis.close(); }catch(Exception e){e.printStackTrace();} } }
A.en=zis.getNextEntry()
B.en==zis.getNextEntry()
C.en=zis.getEntry()
D.zis.getNextEntry()
![](https://lstatic.shangxueba.com/sxbzda/h5/images/tips_org.png)