Can multiple catch statements be used in exceptions ?

Answer Posted / ravikiran(aptech mumbai)

yes multiple exceptions are possible,But the super class of
the particular exeption has to follw the sub claa.Reverse
will not be posible

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does regex work?

724


Is string passed by reference in java?

747


What is difference between null and void?

720


What is replaceall in java?

755


How concurrent hashmap works?

852


Name container classes in java programming?

795


Can we write a class without main method in java?

675


What is a java list?

805


Can array grow dynamically in java?

696


Explain the use of sublass in a java program?

757


What are the differences between heap and stack memory?

753


Define packages in java?

768


Can singleton class be serialized?

709


How do you use find and replace?

690


How do you check if a character in a string is a digit or letter?

756