Answers for "java division int by 0"

0

java division int by 0

assertThrows(ArithmeticException.class, () -> {
    int result = 12 / 0;
});
Posted by: Guest on May-05-2021

Browse Popular Code Answers by Language