Introduction to OOP: Chapter 5: A Case Study : Eight Queens
[next]
[previous]
[audio]
[real]
[text]
The Last Queen
Two approaches to handling the leftmost queen -
Null pointers - each queen must then test for null pointers before sending a message
Special ``sentinel'' value - indicates end of line for queens
Both versions are described in text.
Intro OOP,
Chapter 5
, Slide 13
The complete solutions in each language are not described in the slides, but are presented in detail in the text.
A
Java applet
version is available.