Skip to content

Journey

why not….

  • Home
  • 2020
  • December
  • 31

Day: December 31, 2020

If exceptions are not handled

Posted on December 31, 2020 By dion No Comments on If exceptions are not handled
Uncategorized

Exceptions should be handled in try catch blocks. If an exception is thrown but not handled by the program, then it is terminated midway. Example: I have an exception in method do2() which I don’t handle. The program terminates as soon as the exception is thrown. do1() does not get a chance to execute: However, … Read More “If exceptions are not handled” »

Copyright © 2025 Journey.

Theme: Oceanly by ScriptsTown