I have a partially nfilled array of objects, and when I iterate through them I tried to check to see whether the selected object is null before I do other stuff
null
The example code does not throw an NPE. (there also should not be a ';' behind the i++)