[Bluej-discuss] Blue j object wth java exercise 4.31
Marko Bajic
mbnov26 at hotmail.com
Sun Apr 16 05:11:48 BST 2006
hello, my name is marko. I am having trouble with exerciese 4.31 of Blue J
objects with java. I cannot finish the purge method. this is what I have so
far
public ArrayList purge(int month, int year)
{if(month < 1 || month > 12){
System.out.println("Not a valid number");}
Iterator it = members.iterator();
while (it.hasNext()) {
Membership variable = (Membership) it.next();
if (variable.getMonth() == month && variable.getYear() == year){
}}}
Please help,
Marko
_________________________________________________________________
Test drive new cars from the comfort of your desk at carpoint.com.au
http://secure-au.imrworldwide.com/cgi-bin/a/ci_450304/et_2/cg_801459/pi_1004813/ai_833884
More information about the bluej-discuss
mailing list