You are not logged in. Lock_open    

Video: 'Infinite Loop (BlueJ)'

Infinite Loop (BlueJ) Time: 6:41
Average:
  • Currently 3.1/5 Stars from 62 ratings
  •  
  •  
  •  
  •  
  •  
62 ratings
Your Rating:
  • Currently 0.0/5 Stars from 62 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: Loop Logic Error Debugging Process BlueJ
Narration language: Gb English
Flash_icon Watch Online 26.10Mb
Quicktime_small Download 6.22Mb (Right-click and select 'save as')

Description:

Shows an infinite loop that occurs due to lack of update of a loop iterator inside an if statement in the loop. It identifies that an infinite loop is happening when the program does not seem to end. It then shows how to insert print statements to output the iterator value at the beginning of the loop, and then again at the end of the loop.



Leave a comment about this video...

What others are saying

AJoyWatkins @ October 21, 2007 21:29

The Tutorial Takes a Problem and analyzes through the thought process rather than listing possible errors. It also gives an alternative to using the debugger. Great Video.

droberts @ August 09, 2007 22:22

BlueJ was the first Java IDE I used. This brought back memories. Nice tutorial.