lab27
Mon Oct 30 2023 09:08:27 GMT+0000 (Coordinated Universal Time)
Saved by
@viinod07
public class lab27
{
public static void main(String[] args)
{
try
{
int arr[]=new int[-6];
}
catch(NegativeArraySizeException e)
{
System.out.println("exception 1;"+e);
}
finally
{
System.out.println("the try catch is finished");
}
}
}
content_copyCOPY
Comments