Hello Everyone,
Welcome to my channel Priyankaz IT School.
Today in this live session I have covered Exception Handling in Java.
Exception is the abnormal condition that occur during execution of program to stop the entire floe of application called as Exception.
To maintain normal flow of execution exception handling is must.
Error:
Error is subclass of Throwable class
Error are mostly abnormal conditions
Error doen not occur because of programmer mistakes, but when system is not working properly or a resource is not allocated properly.
Examples:
Memory out of bound or stack overflow error,Assertion Error.
Two types of Exception:
=====================
1.Checked Exception
Checked exceptions are checked at compile time.
2.Unchecked Exception
Unchecked Exceptions are checked at Runtime.
I hope you will love it!
Keep Learning!
Thanks,
Priyanka Nigade