JavaDeploy
SiteMap
Readers Writers
Java Streams
Java Programming
Java Language
Filter Streams
«Prev
Next»
Java Streams
Stream Basics
Stream Input Definition
Roller Coaster Analogy
Input Streaming Data
System in-out
Additional Sources for I/O Streams
Java Stream Classes
I/O Stream Conclusion
Data Stream Reading
Reading Data from Streams
Efficient byte array Buffer
Counting available Bytes
Closing Stream Data
Writing Data Streams
Writing Data to Stream
Java Write Method
Java System.out
Java Write Byte
Java IO Flush
Java File Streams
Using Filestream
Character Mode DumpsFile
WritingData OutputStreams Conclusion
Filtering Streams
Chaining Streams
Marking Resetting Java Streams
Marking resetting Methods
Treating Arrays as Streams
Streaming Data between Threads
Connecting Java Streams - Quiz
Each question is worth one point. Select the best answer or answers for each question.
1.
Which of the following requires a separate stream object to provide raw data?
Please select the best answer.
A.
ByteArrayInputStream
B.
DataInputStream
C.
FileInputStream
D.
System.in
2.
Which of the following cannot be chained to a
FileOutputStream
?
Please select the best answer.
A.
BufferedOutputStream
B.
DataOutputStream
C.
PrintStream
D.
ByteArrayOutputStream
3.
If you wanted a class that could write little-endian data, you would most likely extend:
Please select the best answer.
A.
FilterOutputStream
B.
FilterInputStream
C.
DataOutputStream
D.
OutputStream
Your score is 0.0
Submit
Quiz Explanation