Lecture Notes on 18 Jun 2012 Learning a Computer Language in an Afternoon * Write the Hello World program * Characterset - ASCII, Unicode * Rules for creating variables - set of reserved words * Types - 8 Primitive types - byte, boolean, char, short, int, long, float, double * Operators: - Arithmetic: + - * / % - Comparison: <, <=, >, >=, ==, != - Boolean: &&, ||, ! - Bitwise: ~ & | ^ - Shift: <<, >>, >>> * Expressions and Statements * Simple Statements - assignments & increment / decrement * Conditionals: if-else, switch * Loops: while, do-while, for * Methods * Arrays * Input / Output * Class