SiteMap
Readers Writers
Java Streams
Java Programming
Java Language
Java Streams
«Prev
Next»
Java Streams
Stream Basics
Input Streaming Data
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
Java Write Byte
Java IO Flush
Java File Streams
Using Filestream
Filtering Streams
Chaining Streams
Marking Resetting Java Streams
Marking resetting Methods
Treatin Arrays as Streams
Java Stream unread Method
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
Score =
Correct answers:
Quiz Explanation