java.lang.ArithmeticException: / by zero

Coderanch | Angela Li | 5 years ago
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Having trouble writing a method that factors negative numbers.

    Coderanch | 5 years ago | Angela Li
    java.lang.ArithmeticException: / by zero

    Root Cause Analysis

    1. java.lang.ArithmeticException

      / by zero

      at QuadraticEqn.getIntegerFactors()
    2. Unknown
      1. QuadraticEqn.getIntegerFactors(
      2. QuadraticEqn.main(
      2 frames