Java arrays

Java arrays

University

7 Qs

quiz-placeholder

Similar activities

Java Static

Java Static

University

10 Qs

JavaScript Quiz

JavaScript Quiz

University

12 Qs

Arrays and Functions

Arrays and Functions

University

12 Qs

Java Programming

Java Programming

University

10 Qs

Operators in C

Operators in C

University

12 Qs

Java Arrays

Java Arrays

University

10 Qs

Arrays C++

Arrays C++

University

12 Qs

Java for Geeks and Dummies

Java for Geeks and Dummies

12th Grade - University

10 Qs

Java arrays

Java arrays

Assessment

Quiz

Computers

University

Medium

Created by

Jamunadevi T

Used 6+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java array is a collection of ________.

similar type of elements

different type of element

heterogeneous data

Both A and C

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Array data access using _____.

Operator

Variable

index

Pointer

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

At time of array initialization which is necessary to specify?

Row

Column

Row and Column

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Java Array can allocate __________.

Dynamic Memory

Static Memory

Both A and B

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an incorrect array declaration?

int [] arr = new int[5]

int [] arr = new int[5]

int arr[] = new int[5]

int arr[] = int [5] new

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Index in array start with ______.

-1

0

1

Infinite

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We can calculate the length of an array using ________.

sizeof(array)

array.len

array.length

array.sizeof()