Search Header Logo

Java IO

Authored by vds krishna

University

Used 200+ times

Java IO
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

24 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 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

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these class is not a member class of java.io package?

String

StringReader

Writer

File

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

File

Writer

InputStream

Reader

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these classes is used for input and output operation when working with bytes?

InputStream

Reader

Writer

All of the mentioned

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these class is used to read and write bytes in a file?

FileReader

FileWriter

FileInputStream

InputStreamReader

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these method of InputStream is used to read integer representation of next available byte input?

read()

scanf()

get()

getInteger()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a method to clear all the data present in output buffers?

clear()

flush()

fflush()

close()

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?