Labs

Lab 0: Preliminaries (complete on your own by the end of the first week of class)

Lab 1: Expressions, types, and variables

solutions: Averaging exercise

Lab 2: Definite loops, variable scope

solutions: Excercise 1, Excercise 2, Excercise 3, Excercise 5

Lab 3: Methods with Parameters
solutions

Lab 4: Methods processing strings, debugging run-time and logic errors

solutions: Task 1, Task 2

Lab 5: File Processing and using the DrJava debugger
solutions: Task 1

Lab 6: Using arrays and booleans
solutions: Task 1, Task 2

Lab 7: More Loops and Recursion
solutions: Task 3 (Recursive Triangles)

Lab 8: More Recursion
solutions: Task 2, Task 3

Lab 9: Designing Classes