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 are the advantages of packages in java?
Can we cast any other type to boolean type with type casting?
What is floor math?
Is null keyword in java?
What are the main features of java?
Which is better ascii or unicode?
How do you define a parameter?
What is constructor in java ?
What is the length of a string?
What are recursive functions? Give some examples?
What is data string?
What are the 7 types of characters?
What is a modifier?
What is a condition in programming?
Where pragma is used?