Math and Numbers
Object Equality
Logic and Conditionals
Static Variables and Methods
Miscellaneous
100

This style convention is used in Java to show that a variable is a constant

Uppercase letters

ex: private final int RADIUS= 5

100

This notation is used to check if two values are NOT equal

!=

100

The notation used to represent the logical OR operator in Java

||

100

This keyword in Java is used to declare a variable or method that belongs to the class itself, rather than an instance of that class

static
100

This means to automatically cast from a smaller type to a larger type

widen

200

This method returns the value of the first argument raised to the power of the second argument

Math.pow(double a, double b)

200

This notation is used to compare specific attributes of objects

object1.equals(object2)

200

A statement that selects a single action from three or more conditional statements based on which Boolean expression is true

Multi-selection statement

200

A variable that is shared by all instances of a class

Static variable

200

This method returns the absolute value of the parameter

Math.abs(x)

300
This process is used to assign a value of one data type to another

Casting


300

If you use the == comparison operator on two objects, this is what is being compared

Their locations in memory

300

The truth table below represents this logical operator


AND

300

This keyword is often combined with static to ensure an attribute cannot be changed once initialized

final

300

A method that requires an object of the class to be created before it can be called

Instance method
400

The range used to generate a number with Math.random() in Java

0 and 1


400

A reference variable that points to the same object as another reference variable 

Alias

400

A process in which the evaluation of a logical expression exits when the result is clear, even before the complete evaluation of the expression

Short-circuited evaluation


400

A method that can be called without creating an object of the class

static method

400

We must do this to the equals() method to compare objects other than strings

Override the method

500

The Math class is a part of this Java package

java.lang

(included in all Java programs by default)

500

This superclass that gives us access to the .equals() method

Object

500

A set of logical laws used to demonstrate the equivalence of two Boolean expressions

De Morgan's Laws

500

In a static method, this keyword cannot be used since the method isn't tied to an instance of the class

this

500

Logical operators follow this order of operations

!, followed by &&, followed by ||

M
e
n
u