java.lang.ArithmeticException: / by zero

Stack Overflow | user6556673 | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Which exception should be thrown/caught

    Stack Overflow | 8 months ago | user6556673
    java.lang.ArithmeticException: / by zero

    Root Cause Analysis

    1. java.lang.ArithmeticException

      / by zero

      at Average3.computeAverage()
    2. Unknown
      Average3.main
      1. Average3.computeAverage(Average3.java:30)
      2. Average3.printAverage(Average3.java:17)
      3. Average3.main(Average3.java:6)
      3 frames