MCQs>IT & Programming>Core Java>In your program, you need to read a zip file (myfile.zip) containing several other data files containing basic Java objects. Which of the following will allow you to construct a InputStream for the task?
Core Java MCQs
In your program, you need to read a zip file (myfile.zip) containing several other data files containing basic Java objects. Which of the following will allow you to construct a InputStream for the task?
Answer
Correct Answer: new ObjectInputStream(new ZipInputStream( new FileInputStream((“myfile.zip”)));
Explanation:
Note: This Question is unanswered, help us to find answer for this one