Java Quiz 2

Java Quiz 2

4th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

AP CSA Arrays

AP CSA Arrays

10th - 12th Grade

14 Qs

Exploring Computer Science

Exploring Computer Science

10th - 12th Grade

14 Qs

Traversing Arrays

Traversing Arrays

10th - 12th Grade

14 Qs

APCSA Unit 6

APCSA Unit 6

10th - 12th Grade

14 Qs

APCSA Unit 6.2

APCSA Unit 6.2

10th - 12th Grade

14 Qs

AP Computer Science Principles Arrays

AP Computer Science Principles Arrays

10th - 12th Grade

14 Qs

Arrays

Arrays

10th - 12th Grade

10 Qs

Java Basics (Data Types and Variables)

Java Basics (Data Types and Variables)

6th - 10th Grade

16 Qs

Java Quiz 2

Java Quiz 2

Assessment

Quiz

Computers

4th - 12th Grade

Medium

Created by

Prabodh Tuladhar

Used 114+ times

FREE Resource

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

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?