Can multiple catch statements be used in exceptions ?
Answer Posted / syamkumarm
yes we can use multiple catch statements in exceptions
for example we r writing the program for databas connection
with some mathametical operations with some network concepts
then we may get arithmatic exception, sql exception, and
netwok exception socket, rmi etc there we need to catch all
thoes using different catch statement
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
What is data structure in java?
What does next mean in java?
Why Java is not pure Object Oriented language?
Can an integer be a string?
What are the main uses of java?
What is widening and narrowing in java? Discuss with an example.
What are facelets templates?
Is map sorted in java?
What purpose do the keywords final, finally, and finalize fulfill?
What is enhanced loop in java?
Why is stringbuffer not immutable?
Is multiple inheritance supported by java?
What is the difference between integer parseint and integer valueof?
What is getkey () in java?
Who is founder of java?