Answer Posted / jagadeesh
throwing the exception is nothing but collect all the error
releated info into the single and throw that objet into the
caller area
it contains all exception releated info
And most importantly it is the responsibility of the caller
to handle the exception by using try , catch blocks
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between assignment and initialization?
What is the main use of java?
Define how objects are stored in java?
What is user defined exception in Java?
What is tcp ip in java?
Which arithmetic operations can result in the throwing of an arithmeticexception?
Explain how hashmap works?
Explain parallel processing in java8?
What are the pillars of java?
A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?
Is java a utf 8 string?
Can a final variable be null?
Differentiate between static and non-static methods in java.
Explain the difference between intermediate and terminal operations in java8?