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
What is the nested interface?
When should I use singleton?
What is ascii code?
What is getclass () getname () in java?
What is reverse function?
Write a program to print fibonacci series up to count 10.
Does anyone still use java?
When do we need to use internal iteration? When do we need to use external iteration?
What is a method in coding?
What is the difference between && and & in java?
What is difference between static class and singleton pattern?
What are synchronized methods and synchronized statements in java programming?
What is the purpose of using javap?
Is there a sort function in java?
Which is bigger double or float?