java 0/int code example Example: java int 0/0 assertThrows(ArithmeticException.class, () -> { int result = 0 / 0; });