Sample Java Programs
- Input/Output and Assignment Statement
- Arithmetic and Integer Division
- If Statement
- Loops
- Using the Math and Random Class
- Using the String Class
- Programs with Static Methods
- File I/O in 1.5
- Practice Contest Problems
- Simple Class Examples
- Inheritance Example
- Use of one dimensional arrays
- Array of Objects Example: AddressBook Class
- Game Example using several ideas: Lemonade
- Array of arrays (different sizes) Example
- Two-dimensional arrays
- Sorting
- Simple Recursive Data Structures
- Application using a Linked List: Cards
- Abstract Data Types
- More Complex Data Structures
- Recursion
- Dynamic Programming
- Backtracking
- GUIs