CIS 160 Methods

Objectives

  • Create and use Java methods
  • Discuss and examine variable scope
  • Discuss variable lifetime
  • Use by-value parameter passing
  • Use by-reference parameter passing
  • Discuss method overloading

Creating a method

Calling a method

Applying methods

Resources from David J. Eck text