You are not logged in. Lock_open    

Video: 'Null Pointer Exception (Command Line)'

Null Pointer Exception (Command Line) Time: 4:01
Average:
  • Currently 3.0/5 Stars from 60 ratings
  •  
  •  
  •  
  •  
  •  
60 ratings
Your Rating:
  • Currently 0.0/5 Stars from 60 ratings
  • 1
  • 2
  • 3
  • 4
  • 5
Categories: Array Pointers Runtime Error Command Line
Narration language: Gb English
Flash_icon Watch Online 20.56Mb
Quicktime_small Download 1.82Mb (Right-click and select 'save as')

Description:

Demonstration of a runtime, “Null Pointer exception” ( java.lang.NullPointerException) error and points out how to get the line number from the runtime error. It points out that many null pointer exceptions occur when an object has not been instantiated. This particular example happens in the context of an array where the array itself has been instantiated, but the objects that are elements of the array have not been instantiated.



Leave a comment about this video...

What others are saying