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
How do you convert bytes to character in java?
Is passing by reference faster?
What are the main differences between the java platform and other platforms?
For class CFoo { }; what default methods will the compiler generate for you>?
What is the r character?
What is final method?
hi am an engineering student and my next plan is for ms in either in us or australia i got my passport but i dont know anything bout visa can u give brief idea 1)How to get prepared for visa and 2)How to apply for top universities and 3)How to pay the fee and so on These all are basic questions plz give me a clear idea
Why do we need data structure in java?
What is currentthread()?
What is space character in java?
Explain when we should make an instance variable private.
What is difference between java and java ee?
How many threads can I run java?
Why do we need singleton class?
Can we declare an interface as final?