Answers for "what is error in java exception"

2

What is an error in Java

Error is the subclass of Throwable class in java. When errors are caused 
by our program we call that as Exception, but sometimes exceptions are 
caused due to some environment issues such as running out of memory. 
In such cases we can’t handle the exceptions. 
Exceptions which cannot be recovered are called as errors in java.
Ex : Out of memory issues
Posted by: Guest on December-01-2020
7

exception in java

In java exception is an object. Exceptions are created when an abnormal 
situations are arised in our program. Exceptions can be created by JVM or 
by our application code. All Exception classes are defined in java.lang. 
In otherwords we can say Exception as run time error. I use try & catch blocks 
to handle any exceptions in my code. 
  I am familiar with major checked and unchecked exceptions and 
  handle it accordingly to make my code execution smooth
Posted by: Guest on December-05-2020

Code answers related to "what is error in java exception"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language