Results 1 to 2 of 2

Thread: Optimum Loop

  1. #1
    JavaLovenJoe is offline Member
    Join Date
    Apr 2008
    Location
    USA
    Posts
    12
    Rep Power
    0

    Question Optimum Loop

    As I read my Java tutorial I learn about concept of Optimum Loop. They say it is different for different use cases. How do I know if my Optimum Loop is a while, do while, for, or for each? Can I take a quiz and find out?

  2. #2
    sukatoa's Avatar
    sukatoa is offline Senior Member
    Join Date
    Jan 2008
    Location
    Cebu City, Philippines
    Posts
    556
    Rep Power
    7

    Default

    No need taking a quiz.....

    Just have some experiments on them....

    Since you said "I learn about concepts of Optimum Loop", you can now predict what will be the output and what should be the input of an ideal code.....

    You can start to write it, predict, code it and realize....

    What have you done so far?

    regards,
    sukatoa

Similar Threads

  1. Loop Help
    By HeavyD in forum New To Java
    Replies: 7
    Last Post: 09-22-2010, 09:55 PM
  2. How to use do.. while loop
    By -JaVa- in forum New To Java
    Replies: 3
    Last Post: 08-30-2010, 08:52 PM
  3. How to use Do While loop
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-17-2008, 07:45 PM
  4. How to use While loop
    By Java Tip in forum java.lang
    Replies: 0
    Last Post: 04-17-2008, 07:44 PM
  5. can you help me with this for loop?
    By java_fun2007 in forum New To Java
    Replies: 6
    Last Post: 12-22-2007, 10:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •