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 java uses the string and stringbuffer classes?

513


What is a control variable example?

529


Explain polymorphism citing an example.

588


Can I uninstall java?

548


What is a classloader in java?

534






What does .equals do in java?

527


What does a void function return?

545


What do you mean by ternary operator in java?

554


What are the advantages of functions?

517


In which language java is written?

535


How many bytes is a unicode character?

502


What is the primitive type byte?

575


how to prepare for IT Officers Interview in Banks

1500


Can we clone singleton object in java?

558


How many techniques can be employed to create a string object?

551