InterviewSolution
Saved Bookmarks
| 1. |
Which of the following operators is used to generate instance of an exception which can be thrown using throw?(a) thrown(b) alloc(c) malloc(d) new |
|
Answer» Right choice is (d) new For explanation I would say: new operator is used to create instance of an exception. Exceptions may have parameter as a String or have no parameter. |
|