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
Explain the difference between call by refrence and call by value?
What are static initalizers in java ?
What language is java written?
Say any two properties in beans?
What is difference between length and length() method in java ?
What is the maximum size of a string in java?
What are the different approaches to implement a function to generate a random number?
Is 0 a real number?
What are the two environment variables that must be set in order to run any java programs?
What is int short for?
How do I get the | symbol on my keyboard?
What is this () in java?
What are the disadvantages of object oriented programming?
Which is faster call by value or call by reference?
What is difference between local variable and global variable?