Java: First Contact

Roger Garside and John Mariani, Computing Department, Lancaster University

Course Technology / September 1997 / ISBN 1-85032-316-X
46.65 US dollars / 21.95 pounds sterling

Chapter 18 Examples

You can download each file individually, or download a Unix zip file containing all the files mentioned (including this one).

Chapter18n1.java - the source code for the recursive factorial example referred to in section 18.1 (pp448-9)

Chapter18n2.java - the source code for the iterative factorial example referred to in section 18.1 (p450)

Chapter18n3.java - the source code for the recursive Towers of Hanoi example referred to in section 18.2 (pp452-4)

Chapter18n4.java - the source code for the iterative Towers of Hanoi example referred to in section 18.2 (pp454-6)

Chapter18n5.java - the source code for the binary tree example referred to in section 18.3 (pp456-65)

text.data - data file for use with program Chapter18n5


Return to main page | examples page

last updated: 5th February 1998