Java Certification
Java Programming Questions
Java Written Test Questions and Answers
OCJP Certification Dumps
OCJP Certification- Exception Handling Questions
1. What exception will be occurred with below code?
int a = 100; int b = getSumOfProducts(); // This method returns 0 values int c = a/b;
- NullPointerException
- ArithmeticException
- IOException
- ArrayIndexOutOfBoundsException