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 |
A class can be a subclass of itself?
Explain where variables are created in memory?
What is byte value?
Program to Find the second largest element in an array.
Difference between this() and super() in java ?
What is the purpose of encapsulation?
what is multi-tasking
3 Answers Anand Group, Photon Infotech, Tech Mahindra,
What is the difference between break and continue statements?
What are the features in java?
What is a Presistent Object?
0 Answers InfoAxon Technologies,
What is the difference between the ">>" and " >>>" operators in java?
. What are the differences between constructor and method of a class in Java?