Java Quiz 2

Java Quiz 2

4th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

C++ Arrays

C++ Arrays

8th - 12th Grade

12 Qs

AP Computer Science Unit 10

AP Computer Science Unit 10

12th Grade

10 Qs

Advanced Java Study Guide

Advanced Java Study Guide

11th - 12th Grade

10 Qs

AP Computer Science A Quiz

AP Computer Science A Quiz

12th Grade

15 Qs

Unit 6 Computer Science Arrays

Unit 6 Computer Science Arrays

10th - 12th Grade

14 Qs

STM30243 - TOPIC 4

STM30243 - TOPIC 4

9th Grade

16 Qs

Java IO

Java IO

12th Grade

10 Qs

Technical Terms - Internet (A-Z) - Primitive

Technical Terms - Internet (A-Z) - Primitive

12th Grade

10 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?