0Which exception is thrown in Java when an attempt is made to divide an integer by zero?ANullPointerExceptionBArithmeticExceptionCNumberFormatExceptionDArrayIndexOutOfBoundsException Correct answer: B Join the discussion Report an error Share