Practical Exercise 4
Note that this exercise is based on
Barnes and Koelling, Objects First, Chapter
4.
Download Projects
Club
- Complete the Club class, an outline of which is provided, by carrying out the following:
- Within Club, define a field for an ArrayList
- Complete the numberofMembers method
- Complete the join method.
Notebook
- Using notebook1 as a starting point, add a method search which takes a String
argument and either prints the first note that starts with the string or prints a message indicating
that there is no such note. Hint