An if statement lets you ask a question to the program and only run code if the answer is true.
A control structure lets us change the flow of the code.
A statement that evaluates to true or false.
== , !=. <. > , <=, >= These allow for the comparison or primitive type values. The result of these expressions can be stored as a Boolean value.
Control structure that lets us run either one section of code or another depending on a test.
Executes code only if all conditions are false
A statement that executes if the previous statements are false and this statement is true
Can be used to connect boolean expressions to make more complex expression. NOT ! AND && OR ||
When the result of a logical expression using && or || can be determined by evaluating only the first Boolean operand, the second is not evaluated.
The process of placing if statements within if statements.
A truth table is a table used in logic for comparing Boolean expressions.
Two object references are considered aliases when they both reference the same object.
Equality operator (==) compares the references (addresses in memory) of 2 objects
Compares the data of the objects instead of the value of the references. Uses the .equals() method.