Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: I have a problem about infinte loop? Can anyone answer me? Thanks!

  1. #1
    Junior Member
    Join Date
    Sep 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I have a problem about infinte loop? Can anyone answer me? Thanks!

    Explain why the Java dynamic dispatch algorithm, which looks for the method to invoke for a call o.a(), will never get into

    an infinite loop.


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,607
    My Mood
    Hungover
    Thanks
    145
    Thanked 658 Times in 563 Posts

    Default Re: I have a problem about infinte loop? Can anyone answer me? Thanks!

    Did you just copy and paste your homework question here? That isn't how this works. What have you tried? Where are you stuck?
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    Super Moderator pbrockway2's Avatar
    Join Date
    Jan 2012
    Posts
    1,069
    Thanks
    7
    Thanked 215 Times in 191 Posts

    Default Re: I have a problem about infinte loop? Can anyone answer me? Thanks!

    And can you describe this algorithm - say what it does, and describe how it does it?

  4. #4
    Super Moderator jps's Avatar
    Join Date
    Jul 2012
    Posts
    2,642
    My Mood
    Daring
    Thanks
    90
    Thanked 263 Times in 232 Posts

    Default Re: I have a problem about infinte loop? Can anyone answer me? Thanks!

    ...and...
    Post the related code and explain why you think it WILL get into an infinite loop.

Similar Threads

  1. Problem with the loop ..... ;(
    By xcaldk74 in forum What's Wrong With My Code?
    Replies: 13
    Last Post: February 29th, 2012, 01:25 PM
  2. While loop Problem Please Help!
    By XOlapse in forum Loops & Control Statements
    Replies: 3
    Last Post: January 18th, 2012, 07:03 PM
  3. Problem with For Loop
    By mingming8888 in forum What's Wrong With My Code?
    Replies: 1
    Last Post: October 27th, 2010, 01:23 PM
  4. [SOLVED] Problem with a tutorial program(Adding the answer of two squared numbers together)
    By Melawe in forum What's Wrong With My Code?
    Replies: 20
    Last Post: April 7th, 2010, 10:03 AM
  5. Little Loop Problem
    By chronoz13 in forum Loops & Control Statements
    Replies: 1
    Last Post: October 17th, 2009, 05:40 AM