
Java I/O Streams
Authored by A Vijay Kumar
Computers
University
Used 62+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is a type of stream in Java?
Integer stream
Short stream
Byte stream
Long stream
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is used to read a string from the input stream?
get()
getLine()
read()
readLine()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these class is used to read characters and strings in Java from console?
BufferedReader
StringReader
BufferedStreamReader
InputStreamReader
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these class contains the methods print() & println()?
System
System.out
BufferedOutputStream
PrintStream
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
……………………. class is used to increase the efficiency of input operations.
DataInputStream
FileInputStream
BufferedInputStream
PipeInputStream
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A stream is a sequence of data.In Java a stream is composed of?
Bytes
Bits
Both A & B
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
These commonly used methods of
1) public abstract int read()throws IOException
2) public int available()throws IOException
3) public void close()throws IOException
OutputStream class
InputStream class
Input/OutputStream class
None of the above
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?
Similar Resources on Wayground
34 questions
Computer Classification
Quiz
•
University
25 questions
PreAssessment_Computer Basics
Quiz
•
University
28 questions
MAWD 1.01 B
Quiz
•
KG - University
30 questions
Linux Quiz (RHCSA)
Quiz
•
University
25 questions
Python Module 1
Quiz
•
University
25 questions
PYTHON CONTEST
Quiz
•
University
25 questions
Topik 3 - Computer Network Maintenance
Quiz
•
12th Grade - University
25 questions
OSI yuk
Quiz
•
10th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade