Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Manju Tcs   on May 09 In Java Category.

  
Question Answered By: Kay Rodriguez   on May 09

FWIW, a NullPointerException occurs when you try
to use a variable you have declared but which has no
value. In some cases the compiler can catch these
things, but in others (such as when the variable is an
instance variable) it is a runtime error.<br><br>Get used
to NullPointerExceptions (also known as NPEs). You
will probably see a lot of them if you work with
Java.

Share: 

 

This Question has 6 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Whats wrong with this code? Or get search suggestion and latest updates.


Tagged: