What is an Exception? Is it a Runtime Error? ??

What is an Exception? Is it a Runtime Error? ??

Earlier, I used to think an Exception was just a runtime error, but it's actually not. ??

Exception isn't a run time error. It is a class in programming language which is responsible to terminate the program abnormally during run time error. ??????????????

Exception => Logic of abnormal termination. ????

Exception Handling is the process of stopping the abnormal termination of the program whenever a runtime error is occuring inside of the program. ????


I wanted to share this to help others who might have had the same misunderstanding. Hope it helps! ??

#Programming #Learning #SoftwareDevelopment #CodingTips #ErrorHandling

要查看或添加评论,请登录

社区洞察

其他会员也浏览了