[Bluej-discuss] printing value of index local variable

Sheryl bubblez123 at xtra.co.nz
Wed Oct 4 07:00:44 BST 2006


Hi

1. I have the 2nd edition and I'm referring to ex 4.15 which asks for the listNotes method of the Notebook class to be modified.  I have tried all sorts of variations and haven't been able to get it to work.  How do I do this?

2. Also I was wondering if you could clarify ArrayLists for me.  I created a membership field of type ArrayList, constructor to initialise it and a method to add a new membership.  Does it mean that if I want to store the number of times a membership occurs in a given month that I need another type of list/s?  I get confused with the relationship between classes and names.  What is the relationship between the membership field in the Club Class and the Membership Class?  

  Have been trying to do ex 4.30 on defining a method to determine the number of members who joined in a given month.  How do I do this?

thanks

Sheryl



bubblez123 at xtra.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bluej.org/pipermail/bluej-discuss/attachments/20061004/ba77eaeb/attachment.html


More information about the bluej-discuss mailing list