java.lang.ArithmeticException: / by zero

Coderanch | sam shik | 6 years 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

    exception in thread main

    Coderanch | 6 years ago | sam shik
    java.lang.ArithmeticException: / by zero

    Root Cause Analysis

    1. java.lang.ArithmeticException

      / by zero

      at Prime.main()
    2. Unknown
      Prime.main
      1. Prime.main(Prime.java:16)
      1 frame