Java Stream Question and Answers
5. | How many methods in the externalizable interface? |
---|---|
|
|
6. | What is the difference between Reader/Writer and InputStream/Output Stream? |
---|---|
The Reader/Writer class is character oriented and the InputStream/OutputStream class is byte oriented. | |
7. | What class allows you to read objects directly from a stream? |
---|---|
The ObjectInputStream class supports the reading of objects from input streams. | |
8. | What is a transient variable? |
---|---|
|
|