Q1. What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
Ans. The Reader/Writer class hierarchy is character-oriented, and the InputStream/OutputStream class hierarchy is byte-oriented
Q2. Which is the Parent class of FileInputStream ?
Ans. InputStream
Q3. Which is the Parent Class of InputStream class?
Ans.Object
Q4. Which interfaces are implemented by InputStream?
Ans.[Closeable, AutoCloseable]
Q5. What is the package name for InputStream class?
Ans.java.io
Q6. InputStream is a / an ...
a.Abstract Class
b.Concrete Class
c.Interface
d.Package
Ans. AbstractClass
Ans. The Reader/Writer class hierarchy is character-oriented, and the InputStream/OutputStream class hierarchy is byte-oriented
Q2. Which is the Parent class of FileInputStream ?
Ans. InputStream
Q3. Which is the Parent Class of InputStream class?
Ans.Object
Q4. Which interfaces are implemented by InputStream?
Ans.[Closeable, AutoCloseable]
Q5. What is the package name for InputStream class?
Ans.java.io
Q6. InputStream is a / an ...
a.Abstract Class
b.Concrete Class
c.Interface
d.Package
Ans. AbstractClass