Java IOStreams

Java IOStreams

University

10 Qs

quiz-placeholder

Similar activities

Flujos en Java/Android

Flujos en Java/Android

12th Grade - University

10 Qs

C File Management

C File Management

University

10 Qs

ASK F2 -KOD ARAHAN (PYTHON)

ASK F2 -KOD ARAHAN (PYTHON)

1st Grade - University

15 Qs

Quiz 1 Introduction

Quiz 1 Introduction

10th Grade - University

10 Qs

QUIZ 2

QUIZ 2

University

10 Qs

JAVA I/O

JAVA I/O

University

10 Qs

Java Quiz

Java Quiz

University

10 Qs

JAVA QUIZ

JAVA QUIZ

University

15 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?