What is a finally block? When and how is it used? Give a suitable example?
Finally is an Exception handling section..... It is used when we want to display the output if Der a error that might be caught using catch Block.... Dis is optional Block..... If we don't want dis then we use system.exit(0) to terminate the process