Search Header Logo

Java Quiz 2

Authored by Prabodh Tuladhar

Computers

4th - 12th Grade

Used 114+ times

Java Quiz 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a feature of Java?

Dynamic

Platform Independent

pointers

Object Oriented

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_________________ is a collection of elements used to store the same type of data.

Array
Switch
Case
Loop

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 0, 1, 2, 3
 1, 2, 3, 4
2, 4, 6, 8
 0, 2, 4, 6

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Index values of an array range from ______________.

0 to length – 1
1 to length
0 to length
0 to length + 1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about the anonymous inner class?

It has only methods

It has a fixed class name

It has no name

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Java, what does "jar" stand for?

Java Archive Runner

Java Application Runner

Java Application Resource

Java Archive

Answer explanation

JAR stands for Java ARchive

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the parent class of all the classes in Java?

Class

class

Object

object

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?