Home Tutorialhelp Comment for (Iterator it = query.iterate(); it.hasNext();)

 
 

Comment

Bharathi
for (Iterator it = query.iterate(); it.hasNext();),
March 27, 2007 at 4:51 PM

for (Iterator it = query.iterate(); it.hasNext();) {
Insurance insurance = (Insurance) it.next();
System.out.println("ID: " + insurance.getLngInsuranceId());
System.out.println("Name: " + insurance.getInsuranceName());

for This code we are getting insurance instance.coming to previous lession it is an object array type.May i know what is exact return type.

Thanks,
Bharathi

View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Advertisements Advertisements
 

 

 

DMCA.com