Java arrays

Quiz
•
Computers
•
University
•
Medium
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()
Similar Resources on Wayground
12 questions
Operators in C

Quiz
•
University
10 questions
IT Quiz Round 3

Quiz
•
University
10 questions
Java Arrays

Quiz
•
University
10 questions
Array in C

Quiz
•
University
12 questions
Chapter 2-1: Array Part 1

Quiz
•
University
10 questions
Quiz 8: Arrays&Vector

Quiz
•
University
6 questions
PPS MCQ on 22.11.2024

Quiz
•
10th Grade - University
10 questions
Arrays

Quiz
•
11th Grade - University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade