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 |
GoldMansachs Interview process....
Is a boolean 1 bit?
What is skeleton and stub?
What is the difference between the ">>" and " >>>" operators in java?
What is array sorting in java?
How do generics work in java?
Will the jvm load the package twice at runtime?
How do you sort objects in java?
What is java util hashmap?
Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.
Explain what access modifiers can be used for variables?
what is the use of custom tags? with example?