This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes wrong catewgory i guess Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "wrong catewgory i guess" Watch "wrong catewgory i guess" New topic

wrong catewgory i guess

Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4340

i'm sorry i can't find the question..... the answer was about while(true) return. since i cant find it i post answer here. while true is ok if you want an endless loop. but if you have a return in it, that is a signal you wrote it wrong

Visit my download page
Joanne Neal

Joined: Aug 05, 2005
Posts: 3409
Is this it ?

subject: wrong catewgory i guess
Similar Threads
for(;;) loop
99 bottles of beer song.......
Can amethod can return an Exception
return from void method..
breaking out of while loop without condition being met?