Section 9.3 Worked Example: Writing Method Headers 2
Subgoals for Writing Methods.
Subsection 9.3.1
You can watch this video or read through the content below it. The practice problem starts at 1:42.
Problem: Write a public method header that would work for this call:
int wobble;
wobble = obj.happy (7, "hello", "bye");
A full method header contains:
access modifier, return type, method name, and full parameter list (data type parameter_name)

public int happy (int a, String b, String c) {}
Subsection 9.3.2 Practice Pages
You have attempted 1 of 2 activities on this page.