
java streams
Authored by Sruti S
Computers
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is not a source of an input stream?
The console
A network socket
A textarea component
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the fundamental unit in which stream data is read and written?
bit
byte
int
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Difference of character stream class and byte stream class?
Character streams are in human-readable format and Byte streams are in the machine-readable format
Character streams are in the machine-readable format and Byte streams in human-readable format
None
Byte stream needs no translation of data
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the use of FileReader class
Reading from a string
Buffering output
Reading from files
Reading from an array
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
BefferedReader is used for ?
Buffering input
Performing input operations
Writing to a file
Reading primitive files
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
CharArrayWriter is used for?
Reading from an array
Filtering the output
Writing to a string
Writing to an array
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Can a stream act as a data source for another stream?
No. Streams must be connected directly to physical devices.
No. Streams do not deal with data.
Yes. Some streams can be connected together
Yes. An input stream can be connected to an output stream.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?