You can download each file individually, or download a Unix zip file containing all the files mentioned (including this one).
Chapter4n1.java - the source code for the example referred to in section 4.1 (pp77)
Chapter4n1a.java - the source code of a program to demonstrate a simple "if" statement (p87)
Chapter4n1b.java - the source code of a program to demonstrate a more complicated "if" statement (pp92-3)
Chapter4n1c.java - the source code to demonstrate a simple "switch" statement (p103)
Chapter4n1d.java - the source code to demonstrate a more complicated "switch" statement (p103-4)
Chapter4n2.java - the source code for the example referred to in section 4.8 (p105-7)
Return to main page | examples page
last updated: 5th February 1998