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
Skipping Bytes Data
Closing Stream Data
Input Stream Conclusion
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
Intro Filtering Streams
Filter Streams
Different FilterStreams
Chaining Streams
Optimizing Performance using BufferedStreams
Marking, Resetting Java Streams
Pushback Input Stream
Portable Data Format
Streaming Data Between Threads
Connect Streams InSequence
Array Input Streams
Treating Arrays AsStreams
DumpFile Course Project
Filter InputStream RawBytes Conclusion
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