What is ArithmeticException?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
What is ArithmeticException?
Rating:
ArithmeticException is a runtime exception that is thrown when an exceptional arithmetic condition such as an integer division by zero occurs. ArithmeticException is a subclass of the java.lang.RuntimeException class. When a code detects an integer division by zero, it creates an instance of the ArithmeticException class and passes it to the Java Virtual Machine. This operation is called throwing an ArithmeticException.
Rating:
Was this information helpful?
Other articles
- What is the toArray() method?
- Things to practice for Sun test CX310-036.
- What is a local class?
- How are packages declared?
- What are wildcards?