Does it matter in what order catch statements for filenotfoundexception and ioexception are written?
Answer / Arpit Shrivastav
It does not matter in what order you write the catch blocks for FileNotFoundException and IOException, as IOException is a superclass of FileNotFoundException. However, it's good practice to handle more specific exceptions before handling their superclasses.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a war file?
Why java is made?
Can u write constructor in abstract.If yes den when it will be invoked.
explain different ways of using thread? : Java thread
What is the default execution method in java?
Does garbage collection guarantee that a program will not run out of memory?
What is included in core java?
In Java list the methods that can be overridden?
Can size_t be negative?
Explain about map interface in java?
What methods are called, When we navigate from one applet to another applet?
What does indexof return in java?