JavaDeploy
SiteMap
Readers Writers
Java Streams
Java Programming
Java Language
Java 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
Java Streams Basics - Quiz
Each question is worth one point. Please select the best answer for each question.
1.
Which of the following is not a source of an input stream?
Please select the best answer.
A.
The console
B.
A network socket
C.
A
TextArea
component
2.
What is the fundamental unit in which stream data is read and written?
Please select the best answer.
A.
A bit
B.
A byte
C.
An
int
3.
When you are entering data using the console on a Unix machine, how do you indicate the end-of-stream?
Please select the best answer.
A.
Hold down the Ctrl key and press Z
B.
Hold down the Ctrl key and press D
C.
Hold down the Ctrl key and press C
Your score is 0.0
Submit
Quiz Explanation