Q. Which of these exceptions will be thrown if we use null reference for an arithmeticoperation? (Solved)
1. ArithmeticException
2. NullPointerException
3. IllegalAccessException
4. IllegalOperationException
- b. NullPointerException
1. ArithmeticException
2. NullPointerException
3. IllegalAccessException
4. IllegalOperationException