Casey,
This form of the for loop is used to iterate through an array or collection and
can be thought of as being similar to saying;
for each PropertyDescriptor element (pd) in the array or collection
(info.getPropertyDescriptors() ){
do something with pd here
}
Michael > Date: Tue, 20 Jan 2009 06:56:26 -0800> Subject: [java programming]
LAB1021 : Exercise 3.11 - What does the : signify> From: [email protected]> To:
[email protected]> > > Howdy Ho!> > > In the
following statement what is the significance of the colon> separating pd :
info.get? I haven't come across this in my prior> reading.> > for (
PropertyDescriptor pd : info.getPropertyDescriptors() ){> > > Kind regards,>
Casey> > _________________________________________________________________
It's simple! Sell your car for just $40 at CarPoint.com.au
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641&_t=762955845&_r=tig_OCT07&_m=EXT
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---