Thread - Java Beginners . Hi friend,
There are two ways to handle exceptions,
1. try block followed by a catch block to catch the exceptions. and
2. Use throws clause...
}
If it is not the responsibility of the method to deal with it's own exceptions