No student devices needed. Know more
11 questions
What is the process of looping through every element in an array?
iterating over the array
looping over the array
implementing over the array
stringing over the array
{"hip", "hip"}
What does this code do?
adds 1 to each element of the array
finds the sum of the array
prints the array to the screen and ends
throws an exception
What does this code do?
adds 1 to each element of the array
finds the sum of the array
prints the array to the screen and ends
throws an exception
What is love?
an object
a primitive data type
a class
an interface
baby don't hurt me
What is another term for an element of an array?
member
trick question--there isn't one
variable
object
Which line (denoted by comments) is where walking the array is set up?
A
B
C
D
What is an array?
a data structure that stores a fixed number of values of the same type
a data structure that stores a dynamic number of values of the same type
a data structure that stores information organized with a key
a data structure that stores information at two-dimensional coordinates
An array is kinda like ...
a list
a group
a chess board
a phonebook ... wait, do you even know what that is?
What is the name of the value that denotes an element of an array?
index
number
key
bound
Make me an array.
int[ ] foo = new int[5];
int[ ] foo = {0, 1, 2, 3, 4}
int[ ] foo = new int[0, 1, 2, 3, 4];
int[ ] foo = new Array(5);
POOF! You're an array
Explore all questions with a free account