Search Header Logo

Stream Java

Authored by Emanuela Giaconi

Computers

12th Grade

Used 26+ times

Stream Java
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

27 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

superclass of all classes representing the output stream of characters is -------------

OutputStream

Reader

InputStream

Writer

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

which of this class is used by character streams for reading data from buffer

BufferReader

InputStreamReader

FileReader

FileInputStream

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these method of FileReader class is used to read characters from a file?

read()
scanf()
get()
getInteger()

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these packages contain classes and interfaces used for input & output operations of a program?

java.util
java.lang
java.io
all of the mentioned

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of these class is not related to input and output stream in terms of functioning?

File
Write
InputStream
Reader

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which stream used to read data from a source, it may be a file, an array, peripheral device or socket?

InputStream
OutputStream
Input/OutputStream
None of the above

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is used for writing data to a file in file handling?

FileInputStream
FileOutputStream
Both A & B
None of the above

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?