McqMate
| Q. |
Which of these exceptions will be thrown if we use null reference for an arithmetic operation? |
| A. | ArithmeticException |
| B. | NullPointerException |
| C. | IllegalAccessException |
| D. | IllegalOperationException |
| Answer» B. NullPointerException | |
View all MCQs in
Java ProgrammingNo comments yet