This discussion is now closed.
while(iter.hasNext())
{
Sausage s = (Sausage)iter.next()
}
Iterator<Object> iterator = list.iterator();
Object myObject;
while (iterator.hasNext()) {
myObject = iterator.next();
// do something with myObject
}
Last reply 1 month ago
Free website hosting providers with no strings attached?Posted 3 months ago
iDEA silver citizen badge three. Milkshake shack coding problem.Last reply 4 months ago
How do you practice programming java for beginners?Last reply 8 months ago
hows the employment market for tech work in the UK?Last reply 1 month ago
Free website hosting providers with no strings attached?Posted 3 months ago
iDEA silver citizen badge three. Milkshake shack coding problem.Last reply 4 months ago
How do you practice programming java for beginners?Last reply 8 months ago
hows the employment market for tech work in the UK?