Answer Posted / nashiinformaticssolutions
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
Is set ordered?
What is static method with example?
If two threads have same priority which thread will be executed first ?
What will be the output of round(3.7) and ceil(3.7)?
How big is a 64 bit float?
What is the main functionality of the remote reference layer?
What is temp in java?
What is a modifier?
Explain restrictions for using anonymous inner classes?
What is quick sort in java?
What are register variables what are the advantages?
Which language is java?
How to sort an array from smallest to largest java?
how its run?
Can bool be null?