Basics

Basics

1. Packages and classes 2. Types, identifiers, storage 3. Numbers - binary, ascii, hex - conversions 4. Operators - arithmetic, relational, logical, assignment, precedence 5. I/O - reading, printing, escape chars 6. Control Structures - if, if-else, nested if, extended if __**If**__ { statement; statement; }
 * A package can be defined as a mechanism for organizing Java classes into namespaces. Simply put, it is a pre-made
 * if** (condition)

__**If-Else**__ statement; statement; //use brackets for if-else statements when you have more than one statement in one section// 7. Iteration - for loop, for-each loop. while loop, nested loops 8. Errors and Exceptions
 * if** (condition)
 * else**
 * Compile-Time(Syntax): violate syntax rule, like forgetting a semicolon, or usin a variable before it is declared
 * Run-Time: the computer is asked to do something "illegal", like dividing by 0
 * Logic: fail to express code accurately, e.g. the code is phrased correctly and has proper semantics but code doesn't do what is intended making logically incorrect