Java I/O Streams

Java I/O Streams

University

30 Qs

quiz-placeholder

Similar activities

Quiz on Operating System Basics

Quiz on Operating System Basics

University

25 Qs

2.7 System Software

2.7 System Software

12th Grade - University

25 Qs

Angular 4

Angular 4

University

25 Qs

ITElec1_Recitation_1

ITElec1_Recitation_1

University

25 Qs

Application Software

Application Software

University

29 Qs

Kuis Internet1 L2324

Kuis Internet1 L2324

University

25 Qs

HTML and CSS cơ bảng

HTML and CSS cơ bảng

University

25 Qs

APSI kuis1

APSI kuis1

University

25 Qs

Java I/O Streams

Java I/O Streams

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

A Vijay Kumar

Used 62+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a type of stream in Java?

Integer stream

Short stream

Byte stream

Long stream

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is used to read a string from the input stream?

get()

getLine()

read()

readLine()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these class is used to read characters and strings in Java from console?

BufferedReader

StringReader

BufferedStreamReader

InputStreamReader

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these class contains the methods print() & println()?

System

System.out

BufferedOutputStream

PrintStream

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

……………………. class is used to increase the efficiency of input operations.

DataInputStream

FileInputStream

BufferedInputStream

PipeInputStream

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A stream is a sequence of data.In Java a stream is composed of?

Bytes

Bits

Both A & B

None of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

These commonly used methods of


1) public abstract int read()throws IOException

2) public int available()throws IOException

3) public void close()throws IOException

OutputStream class

InputStream class

Input/OutputStream class

None of the above

Create a free account and access millions of resources

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?