The method that creates a new object
What is Constructor Method?
ints, doubles, booleans; mutable and stored directly in memory
What are primitive data types?
Loop used when you know the number of iterations
What is a for loop?
int[][] myArray = new int[3][4];
What is creating a 2D array (row 3, col 4)
ArrayList<String> myArray = new ArrayList<>();
What is creation of an ArrayList?
What are access modifiers? (Private, public)
Variable types that must be capitalized and store the memory address of an object rather than the actual data
What are reference variables?
The data or properties an object holds and the actions that the object performs
What is behavior and state?
The object form of primitive data types; used for ArrayLists and built-in operations
What are wrapper classes? (Integer, Double)
Variables that only exist in an object class and are specific to each object
What are instance variables?
The conversion of one data type to another (int to double, double to int)
What is casting?
Constructor methods that have the same name as another method, but with different parameters
What is an overloaded constructor?
int myInt = (int) (Math.random() * 10) + 1;
What is creating a random number from 1-10, inclusive?