Java arrays

Java arrays

University

7 Qs

quiz-placeholder

Similar activities

Arrays in C (II yr 02.07.2020)

Arrays in C (II yr 02.07.2020)

University

10 Qs

Rapid Round 2

Rapid Round 2

University

10 Qs

JAVA QUIZ-1

JAVA QUIZ-1

University

10 Qs

Java Arrays

Java Arrays

University

10 Qs

C Program Array and strings

C Program Array and strings

University

10 Qs

Arrays C++

Arrays C++

University

12 Qs

Array in C

Array in C

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()