Arrays
Classes
Primitives
Inheritance
Syntax
100

A collectiom of primitive values OR objects

Array

100

The method that creates an instance of the class

Constructor

100

Integers vs. booleans

Integers --> Whole numbers

Booleans --> Decimals

100

Inheritance is...

A way of extending an existing class by creating a subclass which inherits all of its data and behaviors

100

System.out.print() vs. System.out.prinln()

System.out.print() --> same line

System.out.prinln() --> next line

200

A collection of ONLY objects

Arraylist

200

Instance variables MUST be

Private

200

Strings are

Objects
200

Call superclass constructor

super();

or

super(parameters);

200

Difference between calling a method and an array

Method --> ()

Array --> []

300

An array that uses two indices to specify the location of an element.

2-D Array

300

The aibility to derive a new class from an existing one

Inheritance

300

A float is...

Stores a decimal value with 6-7 total digits of precision

300

A benefit of inheritance

Instance Variables and methods of superclass are inherited

300

Does this work...

int[] nums = {1, 2, 3, 4};

System.out.println(nums.length());

No, nums.length without ()

400

return nums[2][5];

Returning value at row 2, column 5

400

Structure of a class

- Class Name

- Instance Variables

- Constructor

- Methods

400

Number of primitive types

8

400

When you don't have to write super() in the subclass constructor

If the superclass constructor takes no parameters

400

Number of types of errors

3