Java Arena

Module 10

Methods and parameters

Dividing a program into methods. Defining and calling your own methods, calling them from loops, giving them parameters (one or several), and why a method gets copies of the values it's given.

Steps

  1. Defining and calling a method
  2. Calling a method from a loop
  3. Parameters
  4. Several parameters
  5. Parameters are copies