5 What is Java exception handling?
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 |
what is Thread priority?
4 Answers Tech Mahindra, Wipro,
Does set allows null in java?
Why Java is not pure Object Oriented language?
What is an infinite loop? How infinite loop is declared?
Which keyword specify that a variable is effectively final ?
What is the declaration statement?
What are the two ways to create a thread?
In Java, what’s the purpose of static methods and static variables?
What are the differences between this and super keyword?
In how many ways we can do exception handling in java?
Is zero a natural number?
What is mnemonic code?