[Bluej-discuss] Excercise 4.24
Marko Bajic
mbnov26 at hotmail.com
Sun Apr 2 09:23:26 BST 2006
I was wondering if I could have some help on a particular question.
Exercise 4.24 of Objects with Java Blue-J is giving me problems. Here is
my
code so far. I might be miles off for all I know.
public Lot close()
{
Iterator it = lots.iterator();
while(it.hasNext()) {
Lot lot = (Lot) it.next();
if ( [I'M NOT SURE WHAT GOES HERE] >1){
System.out.println(lot.toString()+ "sold");
}else{
System.out.println(lot.toString() + "unsold");
}
}
}
Thank You!
Maki
_________________________________________________________________
Shopping made easy @ tradingpost.com.au
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fwww%2Etradingpost%2Ecom%2Eau%2F%3Freferrer%3DnmsnHMetagv1&_t=753082530&_r=emailtagline&_m=EXT
More information about the bluej-discuss
mailing list