When you write code for your application, you expect that it will execute without any problems. So, it is important to manage and detect all possible errors in your program. Even so, sometimes you may encounter surprises during program execution. These surprises may occur for various reasons, such as some careless mistake in the program, implementation of incorrect logic, loopholes in the code paths of the program, and so on. However, it is also true that many of the failures are beyond the control of a programmer. Programmers often term these unwanted ...
10. Managing Exceptions
Get Interactive Object-Oriented Programming in Java: Learn and Test Your Programming Skills now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.