Browse tutorials by Tag - if
Incompatible Types (Command Line)
Time: 1:33
|
|
| Average: 67 ratings | Your Rating: |
| Categories: Conditional Compile Error Loop Command Line | |
| Description: click for more...
What to do when you see an incompatible types compiler error in a loop condition or in the condition of an if statement. Shows the effect of using equals (=) instead of equalsequals (==), causing an assignment when you intend to have a equality comparison. |
|
Infinite Loop (BlueJ)
Time: 6:41
|
|
| Average: 62 ratings | Your Rating: |
| Categories: Loop Logic Error Debugging Process BlueJ | |
| Description: click for more...
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. |
|