Can multiple catch statements be used in exceptions ?

Answer Posted / pratik

Yah you can use multiple catch statement.But the super
class type object should not come in catch statment before
sub class type object.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by bytecode?

579


What is json parser in java?

617


Explain wrapper classes in java?

536


What is appletviewer?

574


How to sort numbers in java without array?

535






What are java packages? What is the significance of packages?

573


Define how objects are stored in java?

567


Why java is considered dynamic?

757


Is java a digit method?

520


How to split arraylist elements in java?

605


What is classes in java?

519


Is Constructor possible in abstract class in java ?

592


What do you understand by synchronization?

596


What is difference between module and function?

542


What is general methodology?

572