Lecture overview -- Keyboard shortcut: 'u'  Source programs in previous lecture -- Keyboard shortcut: 'p'  Source programs in next lecture -- Keyboard shortcut: 'n'  Course home

Source Programs
Classes and Objects

The Note Context in the rightmost column is only shown in case an annotated program exists. - You can navigate to the annotated program via the annotated slide view (= 'the note context').

The class Die.die.csSlide contextText book contextNote context
A program that tosses three dice.dieApp.csSlide contextText book context-
The class Die in the namespace Game.die.csSlide contextText book context-
A client of Die from namespace Game.dieApp.csSlide contextText book context-
A slightly more general Die class.die.csSlide contextText book contextNote context
A Point class with public instance variables - NOT Recommended .Point.csSlide contextText book contextNote context
A Client of Point.Client.csSlide contextText book contextNote context
A version of class Point modified to use polar coordinates - NOT Recommended.Point.csSlide contextText book contextNote context
Instance variables in the class BankAccount.bank-account.csSlide contextText book contextNote context
Creation of three bank accounts.bank-account-client.csSlide contextText book context-
Selected messages to BankAccount methods from a client class.bank-account-client.csSlide contextText book context-
Methods in the - slightly extended - class BankAccount.bank-account.csSlide contextText book context-
The class BankAccount with a class variable.bank-account.csSlide contextText book context-
A client of class BankAccount.bank-account-client.csSlide contextText book context-
A BankAccount class with static methods.bank-account.csSlide contextText book contextNote context
A client BankAccount.bank-account-client.csSlide contextText book context-
A typical problem: A class method that accesses instance variables.bank-account-client.csSlide contextText book contextNote context
Legal use of constants and readonly variables.const-readonly-simple-legal.csSlide contextText book contextNote context
Illegal use of constant and readonly variables.const-readonly-simple-illegal.csSlide contextText book contextNote context
The BankAccount - A more radical use of this.bank-account.csSlide contextText book contextNote context
An illustration of the 'Inconsistent Accessibility' problem.visibility.csSlide contextText book contextNote context
Solution to the 'inconsistent accessibility' problem.visibility-ok.csSlide contextText book context-
The class Point.Point.csSlide contextText book context-
Use of the class Point in a client class called Application.Client.csSlide contextText book contextNote context
Improved constructors in class BankAccount.bank-account.csSlide contextText book contextNote context
The class Die with a copy constructor.die.csSlide contextText book context-
The class PlayingCard with a static constructor.PlayingCard.csSlide contextText book contextNote context
A client of class PlayingCard.client.csSlide contextText book context-

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