You are not logged in. Lock_open    

Browse tutorials by Tag - java

Array Index Out Of Bounds (Command Line) Time: 1:29 Gb Closedcaptioned
Average:
  • Currently 3.2/5 Stars from 60 ratings
  •  
  •  
  •  
  •  
  •  
60 ratings
Your Rating:
  • Currently 0.0/5 Stars from 60 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
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 Gb
Average:
  • Currently 3.1/5 Stars from 46 ratings
  •  
  •  
  •  
  •  
  •  
46 ratings
Your Rating:
  • Currently 0.0/5 Stars from 46 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: Compile Error Command Line
Description: click for more...

A program that generates “illegal start of type” and “ expected” error although the code looks OK.

Incompatible Types (Command Line) Time: 1:33 Gb
Average:
  • Currently 3.2/5 Stars from 67 ratings
  •  
  •  
  •  
  •  
  •  
67 ratings
Your Rating:
  • Currently 0.0/5 Stars from 67 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
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 Gb
Average:
  • Currently 3.4/5 Stars from 84 ratings
  •  
  •  
  •  
  •  
  •  
84 ratings
Your Rating:
  • Currently 0.0/5 Stars from 84 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
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).