It is an object which contains elements
of a similar data type.
Java array or Array
What is array in Java based on?
Index-based
In Java, _______ is an object of a dynamically generated class.
Array
Array has a ______ size of elements.
Fixed
In array, we can get any data located at an _______ position.
Index
How do you declare an array variable?
By inserting a pair of square brackets after the type.
What keyword do you use to reserve memory locations for the array elements?
New
It is an integer contained within the square brackets that indicates one of an array’s variables or elements.
Subscript
An array’s elements are numbered beginning with ______.
Zero(0)
Array names actually represent computer memory addresses called __________.
References
A variable with a reference type, such as an array, holds a _________ where a value is stored.
Memory address
Boolean array elements are automatically assigned the value ______.
False
What happens when you define an array using new.
The array name takes on a memory address value.
To initialize an array, you can use a list of values that are separated by _______ and enclosed within curly brackets.
Commas