Classes&Objects
Arrays
ArrayLists
2D Arrays
100

This Java keyword is always used to construct an object.

What is new?

100

Arrays are always indexed starting with this number.

What is zero (0)?

100
The advantage of using an ArrayList over an array.
What is dynamic sizing?
100

How does Java store 2-dimensional arrays?

What is an array of arrays (list of lists, rows and columns) ?

200

The blueprint for an object.

What is class?

200

The name of the symbols used to denote an array.

What are square brackets [] ?

200
These data types cannot be used in an ArrayList.
What are primitives?
-OR-

What are ints, doubles, booleans, etc.?

200

The double bracket notation [][] is used to access these two parts of a 2D array, respectively.

What is row and column?

300

The name for a variable that is associated with a specific object.

What is an instance variable (or field)?

300

This field can tell you how many things an array contains.

What is length?

300

This method can tell you how many items are in an ArrayList.

What is .size() ?

300

How would you find the number of COLUMNS in a 2D array named grid?

What is grid[0].length?

400

A method inside a class definition that sets up and returns an instance of an object.

What is a constructor?

400
An error message Java will tell you if you're not careful with array indices in a loop.

What is OutOfBoundsException (or ArrayIndexOutOfBoundsException)?

400

This algorithm searches through an Array or ArrayList from left to right.

What is linear (sequential) search?

400
The proper way to declare and instantiate an array of ints called stuff with 5 rows and 7 columns.
What is int[][] stuff = new int[5][7]?
500

The principle that states that all of an object's data and the details of its implementation should remain hidden from other objects.

What is encapsulation?

500

This efficient algorithm is best used when searching through a sorted array.

 What is binary search?

500

Given an ArrayList called list, the proper way to access the LAST element in list.

What is list.get(list.size() - 1)?

500
Write a FOR-EACH LOOP to traverse a 2D array named arr.

for ( row : arr ) 

for (col : row)

M
e
n
u