
Java IOStreams

Quiz
•
Computers
•
University
•
Hard
HAREESH KUMAR
Used 39+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is FALSE about Java Streams ?
Java defines only two types of streams – Byte stream and character stream.
Like in any other language, streams are used for input and output operations.
Byte stream uses InputStream and OutputStream classes for input and output operation.
Character stream uses InputStream and OutputStream classes for input and output operation.
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of these classes are used by character streams for input and output operations?
InputStream
Writer
Reader
InputOutputStream
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these class contains the methods print() & println()?
System
System.out
BUfferedOutputStream
PrintStream
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to represent end of file in java?
EOF
-1
null
\0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is used to converts the byte-oriented stream into character-oriented stream?
Console
Scanner
InputStreamReader
DataInputStream
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these class is used to create an object whose character sequence is mutable?
String
StringBuffer
Both of the mentioned
None of the mentioned
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The PrintStream class provides methods to?
read data to another stream
Write data to another stream
read data to same stream
write data to same stream
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
G12_Week7

Quiz
•
12th Grade - University
11 questions
hadoop-map reduce

Quiz
•
University
10 questions
Java quiz based on inheritance

Quiz
•
University
15 questions
Hadoop

Quiz
•
University
12 questions
KB #2 Pemrograman Sensor 2024

Quiz
•
University
10 questions
Topik 2: Ciri-ciri Object Oriented Programming (OOP)

Quiz
•
University
10 questions
java script

Quiz
•
University
15 questions
Menganalisis Informasi dari Internet

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade