A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
using enhanced for insted of while - for reading resulset
Joined: Mar 11, 2005
Feb 02, 2009 04:30:21
how can i read resultset using enhanced for loop - instead of while (rs.next)
Joined: Oct 18, 2004
Feb 02, 2009 06:23:46
You cannot use
as such in an enhanced for-loop as it expects an Iterable object or an array. This
will help you understand the enhanced for-loop better.
Gonna hunt down SCWCD soon..
I agree. Here's the link:
subject: using enhanced for insted of while - for reading resulset
how we can create xls file in java
Problem with priority Queue
Enums and operators
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014