filmov
tv
Arithmetic Exception in Java #programming #shorts #viral #java

Показать описание
ArrayIndexOutOfBoundsException in Java
Divide by zero exception
#shorts #viral #java
ismart Technology study
JOGENDRAPRASAD BAGDI
public class Main {
public static void main(String[] args) {
try {
int arr[] = new int[5];
arr[10] = 100;
} catch (ArrayIndexOutOfBoundsException e)
{
}
}
}
Divide by zero exception
#shorts #viral #java
ismart Technology study
JOGENDRAPRASAD BAGDI
public class Main {
public static void main(String[] args) {
try {
int arr[] = new int[5];
arr[10] = 100;
} catch (ArrayIndexOutOfBoundsException e)
{
}
}
}