Search Header Logo

Arrays

Authored by scoremaster JAVA

Education

Professional Development

Used 1+ times

Arrays
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An Array in Java is a collection of elements of ___ data type.

A) Same
B) Different

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The Java Virtual Machine (JVM) implements arrays as ___ type.

A) Primitive
B) Object

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An array declaration in Java without initialization ___ memory.

A) Does not allocate
B) Allocates memory

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Java language, an array index starts with ___

A) -1
B) 0
C) 1
D) Any integer

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which are the special symbols used to declare an array in Java?

A) Braces { }
B) Parentheses ()
C) Square Brackets [ ]
D) Angled Brackets < >

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which are the special symbols used to initialize an array at the time of the declaration itself?

A) Parentheses ( )
B) Square Brackets [ ]
C) Braces { }
D) Angled Brackets < >

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is possible to skip initializing some elements of the array during Shorthand Initialization. (TRUE / FALSE)

A) FALSE
B) TRUE

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?