Containers that hold data while your program is running.
What is Variable?
A type of method to perform operations on Strings.
What is String Method?
A group of code that can be called to perform a task (benefits are Readability and Maintainability)
What is Method?
The Boolean expression for a selection or repetitive statement.
Ex: if (a>b)
What is Condition?
Statements that repeat a group of code while it’s condition is true.
What is Repetition Statement?
The first time a variable is assigned a value.
What is initialization?
Special methods used for the creation of an object.
What is Constructor?
When two methods have the same name, but different parameters.
What is Method Overloading?
Operators used to join two Boolean values into one.
Ex: && and ||
What is conjunction operator?
A single run of code in a repetition statement.
A value used is a mathematical operation. Ex: (num) + (num)
What is Operand?
Definition: Cannot be changed.
What is Immutable?
When the address of objects are sent to methods, allowing the originals to be changed.
What is by reference?
Operators that compare two values and result in a Boolean value.
What is comparison Operator?
The rules that control the structure of the symbols, punctuation, and words.
What is syntax?
Giving a variable a value
What is assigning?
Data the method needs to perform its task.
Ex: Public static int Mathrocks(parameters)
Or Ex: Math.pow(5,2);//output:25
What is Parameter?
Object versions of primitives
What is a Wrapper?
When a variable exists and can be accessed
What is Scope?
1. (int)Random()*(high num-Low num+1)+Low num
2. (int)Random()*(high num-Low num)+Low num
1. Inclusive
2. Exclusive
Complex data types that can store multiple places of data and perform actions.
What is Classes/Objects?
When a String value is joined to another piece of data.
EX: int n = 5;
System.out.print(“John likes”+n+”different ice cream flavors.”);
Output: John likes 5 different ice cream flavors.
What is Concatenation?
The type of Data a method gives back.
What is Return Type?
A set of rules for converting an expression containing NOTs into an expression that does not contain any NOTs.
What is De Morgan’s Law?
1. An error that break the grammatical rules of Java, preventing compilation.
2. An error that expose logical flaws in grammatically correct code.Ex: adding an int and a String
3. An error that occur when your program is actually running, not during compilation. Ex: ArithmeticException(invalid math operation (e.g. dividing by zero))
1. Syntax Error
2. Complie Error
3. Runtime Error