Exceptions can occur because of many reasons in a java program. If you will not handle this exception your program will terminate. Java provides you ways to handle these exceptions.
After watching this video, you will be able to:
– Catch an exception using try catch in java.
– Write the code of try and catch in java.
– Explain why exception handling is important in JAVA.
– Explain how to handle exceptions in java program.