mirror of
https://github.com/autc04/Retro68.git
synced 2025-02-07 18:31:06 +00:00
20 lines
406 B
Java
20 lines
406 B
Java
public class G19990303_02
|
|
{
|
|
public static void main (String[] args)
|
|
{
|
|
int i = -1;
|
|
try
|
|
{
|
|
System.out.println ("Pass 1");
|
|
int[][][] arrayInt = new int[i][1][1];
|
|
int ii = arrayInt[i - 1][0][0];
|
|
System.out.println ("Pass 2");
|
|
}
|
|
catch (NegativeArraySizeException e)
|
|
{
|
|
System.out.println ("Pass NegativeArraySizeException");
|
|
}
|
|
System.out.println ("Pass 3");
|
|
}
|
|
}
|