java int 0/0

assertThrows(ArithmeticException.class, () -> {
    int result = 0 / 0;
});
Yellowed Yak