aspose file tools*
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 Java 8 in Action this week in the Java 8 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: 4339

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: 3169
Is this it ?

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