Navigate to overview of all exercises in these notes   Alphabetic index   Course home   

Classes and Objects

All exercises in this lecture on a single page
All exercises and solutions in this lecture on a single page

Exercise 3.1Yahtzee No solution available
Exercise 3.2Time Classes No solution available
Exercise 3.3Public data representation Solution
Exercise 3.4How private are private instance variables? Solution
Exercise 3.5The method LogTransaction in class BankAccount Solution
Exercise 3.6Course and Project classes Solution
Exercise 3.7Sharing the Random Generator Solution

Generated: Monday February 7, 2011, 12:13:42