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 dynamic binding(late binding)?
Which java ide is used the most?
Explain the difference between comparator and comparable in java?
What is final method in java?
how can you catch multiple exceptions in java?
What is native method in java?
How many types of array are there?
Is object a data type in java?
What is a cup of java?
What is java util?
How do you replace all in word?
When do you get classcastexception?
What do you understand by overloading and overriding in java?
Objects or references which of them gets garbage collected?
Write a program to check for a prime number in java?