* In a mathematical expression: * the operation being used is called the operator * the values being operated on are called the operand * The += is known as a compound assignment operator * Java allows us to compound Boolean expressions by using logical operators. * Often, lines of code are executed and omitted * Conditional Statements: * if statements * if-then-else statements * nested statements * else-if statements * switch statements * Rarely is code written for sequential execution * Two types of loops: * Conditional - cycles while some condition is true * Counted - cycles a specified number of times * Strings can be represented as Literal or Explicit * String pool is an area where previously declared literals are saved. * Arrays and Strings are reference data types * Array steps: * Declaring * Creation * Inserting * Accessing * Iterating * Methods are heavily used in OOP languages as they are powerful and an efficient way to program * A method should contain: * Permission * Return type * Method name * Parameters/Arguments * The following questions before a method is created: * What will it do? * Who should be allowed to use it? * What information does it need? * Should it return something back? * What should it be called? * Only one value can be returned by the return statement * Calling a method is easier than declaring one * The ArrayList works as follows: * if data is added to the front, all items are shifted * if data is added to the end, no item moves * if an element