What is meant by throwing an Exception?
Answers were Sorted based on User's Feedback
Answer / tejas.n.gowda
the act of passing an Exception Object to the runtime system
is called Throwing an Exception..
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / 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 |
Answer / ravikiran
throwing the exception to the calling method without
handing there
| Is This Answer Correct ? | 2 Yes | 3 No |
Answer / akbar
Throwing exception means preventing the code from
exceptiion handling mechanism so that at Runtime system
throwing exception.
| Is This Answer Correct ? | 0 Yes | 1 No |
When we serialize an object does the serialization mechanism saves its references too?
What is the arguement of main method?
What is logical variable?
State some advantages of java?
What do bitwise operators do?
How a variable is stored in memory?
What is the benefit of using enum to declare a constant?
Is there any need to import java.lang package?
What is the size of int?
How many classes can any class inherit java?
Explain abstract class in java?
What is the main function in java?