a
Learning objectives for chapter 8
Learn to write and use a value-returning function.
Learn to write and use a void function.
Learn to use parameter lists for input to functions.
Learn what are Java function prototypes.
  Learning objective(s) addressed
  1234
Exercises Right-click (or control-click on a Mac) the title to save its PDF to your system.  
8.1 Parameter Lists PDF X X 
8.2 More Parameter Lists PDF  X  
8.3 Password-protected Mortgage Calculator, v.1.0 PDF  X  
8.4 Password-protected Mortgage Calculator, v.2.0 PDF X   
8.5 Three-Question Quiz, v.2.0 PDF XXXX

 
Samples Right-click (or control-click on a Mac) the title to save its PDF to your system.  
8.1 About Value-returning Functions PDF X X 
8.2 About Void Functions PDF  XX 

 
Videos  
8.1 Click HERE for a YouTube-like video that shows how to modify existing code to use functions. It's 24 minutes long, and done on a Mac in both Java and C++, with the JNotePad editor and command-line compiling. It shows both void and value-returning functions. XXX 

Code from the chapter in order of their appearance in the text
PassingGradeFun.java ParamList.java Name.java Addition.java
YesNo.java Password.java KeepingScore.java        

Chapter 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15