Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 
 public class AIOB_Sample 
 {
     int[] fa = new int[4];
     int[] fb;
     
     public void testOutOfBounds()
     {
         int[] a = new int[4];
        
        a[4] = 2;
        [4] = 2;
    }
    
    public void testUnallocated()
    {
        int[] b = null;
        
        b[4] = 4;
        [4] = 4;
    }
New to GrepCode? Check out our FAQ X