Java IOStreams

Java IOStreams

University

10 Qs

quiz-placeholder

Similar activities

LOGIC GATE AND SIMPLE LOGIC CIRCUIT

LOGIC GATE AND SIMPLE LOGIC CIRCUIT

University

15 Qs

Bab 4 Sistem Komputer Hardwere

Bab 4 Sistem Komputer Hardwere

7th Grade - University

10 Qs

Java quiz 1

Java quiz 1

University

10 Qs

Parts of a Computer

Parts of a Computer

University

10 Qs

Chapter 14 (Docker)

Chapter 14 (Docker)

University

15 Qs

 Computing Revision JCG

Computing Revision JCG

KG - University

14 Qs

Basic Computer

Basic Computer

University

10 Qs

Input or Output

Input or Output

9th Grade - Professional Development

11 Qs

Java IOStreams

Java IOStreams

Assessment

Quiz

Computers

University

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?