|
Re: Pls Give me Answer to these question
1. UnChecked Exceptions are the exceptions of belonging to the subclasses of Error and RuntimeExceptions class... We don't need to provide any exception handler for this kind of exceptions.. They occur only because of ur logical error in the prgm like ArrayIndexOutOfBounds....
On the other hand for Checked Exceptions we have to either provide handler or ur method which cause these exceptions must define it using throws clause...... Exceptions like SocketException, FileNotFound Falls into this category
2. By setting classpath, we tell the JVM to look for the class files in this particular location...
|