Browse tutorials by Tag - java
Array Index Out Of Bounds (Command Line)
Time: 1:29
|
|
| Average: 60 ratings | Your Rating: |
| Categories: Array Runtime Error Logic Error Command Line | |
| Description: click for more...
This video shows the runtime error that results when an index references beyond the end of an array. IT points out that one should always look both at the line number in a runtime error and the index listed in an ArrayIndexOutOfBounds error. This error is fixed by changing the constant index values which are used to index the array. |
|
Illegal start of type (Command Line)
Time: 1:42
|
|
| Average: 46 ratings | Your Rating: |
| Categories: Compile Error Command Line | |
| Description: click for more...
A program that generates “illegal start of type” and “ |
|
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. |
|
Instance Variable Masking (Eclipse)
Time: 3:46
|
|
| Average: 84 ratings | Your Rating: |
| Categories: Logic Error Classes Eclipse | |
| Description: click for more...
Shows what happens when a local variable in a method has the same name as an instance variable in your class and provides 2 ways to fix this problem (instance variable masking). |
|