Try block is a those block that apply in our programe where can generate exception condition
Anonymous
3 Aug 2021
In order to handle the exception in JAVA, we have multiple approaches. One among them is by using try...catch... block
Try block is the place where we have the code which is possible to raise an exception and catch block is useful for catching the exception which is raised in try block.