Computer Science, asked by swarnimamishra196, 6 months ago

Write the java class for user defined exception that handles the problem to verify a variable with a positive value

Answers

Answered by naziyaqureshi106
1

Answer:

such as ArithmeticException, NullPointerException etc. These exceptions are already set to trigger on pre-defined conditions such as when you divide a number by zero it triggers ArithmeticException

Explanation:

Your Answer

Similar questions