What is Java exception handling?
Answer / 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 |
What are the 4 types of characters?
Can we define private and protected modifiers for the members in interfaces?
What is the difference between hashmap and hashtable in java?
Accenture NJ mostly ask question on Collection like 1)How to sort Objcts and how treeset sort them 2)Explain mechanism of Hashcode finding in Java 3)Name some of the Sorted collection.
What is the difference between an interface and an abstract class?
How strings are created in java?
Why is singleton not thread safe?
What about interthread communication and how it takes place in java?
What does the append?
what are the purposes of native, transiant key words?
Explain a situation where finally block will not be executed?
Explain what are final variable in java?