Topics
This course uses one long slide deck: Keynote, PDF
Intro
- Hello World
- Math operators
- Variables
- Data types
Booleans and Conditionals
- Boolean operators
- The
if/else if/elsestatement - The
switchstatement - The ternary operator
Practice
-
Leap Year
- Every 4 years
- But not every 100 years
- But again every 400 years
- Ex: 1900 is not a leap year, 1901 is not a leap year, 1904 is a leap year, 2000 is a leap year
- Random Number Guessing Game
Bigger Data Types
- Arrays
- ArrayLists
- Maps
Loops
- The
whileloop - The
forloop - The "for each" loop
Methods
- Method declaration
- Parameters and arguments
- The
returnkeyword
Object Oriented Programming
- Classes and objects (instances)
- Object properties and methods
- Inheritance
- Abstract classes
- Interfaces
Exception Handling
- What are exceptions
- How to handle exceptions
- Why catch exceptions
Additional Topics
- Recursion