e2 open test2

e2 open test2

University

50 Qs

quiz-placeholder

Similar activities

CURRICULO II HEMI 5S

CURRICULO II HEMI 5S

University

50 Qs

UAS Basic Semantics & Pragmatics  (044)

UAS Basic Semantics & Pragmatics (044)

University

50 Qs

Java

Java

University

49 Qs

SPT - UAS

SPT - UAS

University

53 Qs

Grand Test -1

Grand Test -1

University

50 Qs

AI and ML

AI and ML

University

45 Qs

UTS Ragam Program,

UTS Ragam Program,

University

48 Qs

phon

phon

University

51 Qs

e2 open test2

e2 open test2

Assessment

Quiz

Education

University

Hard

Created by

patnana Kumari

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which exception is thrown by read() method?

IOException

InterruptedException

SystemException

SystemInputException

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the super class of all exception classes

Exception

Object

Error

Throwable

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which class is the super class of all classes of the java.lang package?

Object

System

Super

Class

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt


Which of the following exception is raised when a number is divided by zero

NumberFormatException

ArithmeticException

NullPointerException

IllegalArgumentException

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A single try block must be followed by which of these?

finally

catch

catch or finally

None of the mentioned

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these exceptions will occur if we try to access the index of an array beyond its length?

ArithmeticException

ArrayException

ArrayIndexException

ArrayIndexOutOfBoundsException

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Runnable is a

Class

Method

Variable

Interface

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?