InterviewSolution
| 1. |
What Are The Super Most Classes Of All Streams? |
|
Answer» All the byte stream classes can be divided into two categories (input stream classes and output stream classes) and all character streams classes into two (READER classes and writer classes). There are four ABSTRACT classes from which all these streams are DERIVED. The super most class of all byte stream classes is java.io.InputStream and for all output stream classes, java.io.OutputStream. SIMILARLY for all reader classes is java.io.Reader and for all writer classes is java.io.Writer. All the byte stream classes can be divided into two categories (input stream classes and output stream classes) and all character streams classes into two (reader classes and writer classes). There are four abstract classes from which all these streams are derived. The super most class of all byte stream classes is java.io.InputStream and for all output stream classes, java.io.OutputStream. Similarly for all reader classes is java.io.Reader and for all writer classes is java.io.Writer. |
|