Results 1 to 4 of 4
Thread: Continue or not?
- 01-18-2010, 06:22 PM #1
- 01-18-2010, 06:43 PM #2
can anyone help please?
- 01-18-2010, 06:56 PM #3
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,606
- Blog Entries
- 7
- Rep Power
- 17
Something like this can do the job:
The method processData() is supposed to, well process the data and the boolean method doContinue() shows a friendly prompt and asks the user if s/he wants to continue; if so, the method returns true, otherwise it returns false.Java Code:do { processData(); } while (doContinue());
kind regards,
Jos
- 01-19-2010, 02:42 PM #4
Member
- Join Date
- Jan 2010
- Posts
- 90
- Rep Power
- 0
Similar Threads
-
Program doesn't continue...
By Reiyn in forum New To JavaReplies: 7Last Post: 10-07-2008, 10:28 PM -
press any key to continue
By dotnet007 in forum New To JavaReplies: 3Last Post: 05-11-2008, 05:19 AM -
How to use Continue with a label
By Java Tip in forum java.langReplies: 0Last Post: 04-17-2008, 07:46 PM -
How to use Continue
By Java Tip in forum java.langReplies: 0Last Post: 04-17-2008, 07:46 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks