Java - IO - Interview Questions and Answers on FileInputStream

Q1.  Which class is used to read streams of raw bytes from a file?

Ans. FileInputStream

Q2. Which is the Parent Class of FileInputStream class?

Ans.InputStream

Q3. Which interfaces are implemented by FileInputStream?

Ans.[Closeable,  AutoCloseable]

Q4. What is the package name for FileInputStream class?

Ans.java.io