Interview Preparation mode beta
Funny Facebook Status Funny Facebook Status
Enter your email address

Does it matter in what order catch statements for FileNotFoundException and IOExceptipon are written?

1 Answer

Nice?Vote!
Yes, it does. The FileNoFoundException is inherited from the IOException. Exception's subclasses have to be caught first.
answered 1 year ago by anonymous

Related questions