NullPointerException is a kind of unchecked exception that occurs when an application attempts to use null in a case where an object is required.
NullPointerException is a kind of unchecked exception that occurs when an application attempts to use null in a case where an object is required.NullPointerException is a kind of unchecked exception
that occurs when an application attempts to use null
in a
case where an object is required. It is also known as runtime time exception,
which occurs while running a program. This type of exception is internal to
the application and extends the java.lang.RuntimeException that is
inherited from java.lang.Exception
class.
NullPointerException must bethrown when an application attempts to use null
in a case where an object is required. These include:
null
object.null
object.null
as if it were an array.Read more at:
http:/www.roseindia.net/java/exceptions/exception.shtml
Ads