Answer Posted / hr@tgksolutions.com
In Java, exceptions are objects. When you throw an exception, you throw an object. However, you can’t throw just any object as an exception — only those objects whose classes descend from throwable. Throwable serves as the base class for an entire family of classes, declared in java.lang, that your program can instantiate and throw.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How do you identify independent and dependent variables?
What is Applet Stub Interface ?
When will we use them?
List some important characteristics on jre
What are latest features introduced with java 8?
How to convert string to char and vice versa?
What is consumer interface?
Can we execute java program without main method?
What is data string?
How can we find the sum of two linked lists using stack in java?
Is array a class in java?
Detail discussions on JVM, memory management and garbage collector.
Implement a stack with push (), pop() and min() in O(1) time.
Is there a case when finally will not execute?
What is java literals?