MCQOPTIONS
Saved Bookmarks
| 1. |
Which is the correct way of overriding a method throwing exceptions in Java? |
| A. | void show() throws IOException{ } |
| B. | void show() throws IOException{ } |
| C. | void show() throws ArithmeticException{ } |
| D. | None |
| Answer» B. void show() throws IOException{ } | |