InterviewSolution
Saved Bookmarks
| 1. |
What Is Throw Keyword? |
|
Answer» It is POSSIBLE for a Java program to throw an exception explicitly that is done using the throw statement. The general form of throw is - throw throwableObject; We can get this throwableObject in 2 ways -
It is possible for a Java program to throw an exception explicitly that is done using the throw statement. The general form of throw is - throw throwableObject; We can get this throwableObject in 2 ways - |
|