Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How is colon : used in for{} loop?

Status
Not open for further replies.

Joncamp

MIS
Oct 30, 2006
15
0
0
US
Taking a Java test I found a for{} loop which had a : character in it?... like this...

for { : }

I was supposed to fill in some objects, but I have no idea how a : character does in a for loop?

Any comments?
JON
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top