I would like to know when NullPointerException comes in java. any help would be appreciated.
When you try to use a reference variable or expression that does not contain a reference to an Object - ie contains null. This may be because it hasn't been initialised, or it may be the result of calling a method that returns null following an error or other condition … Read More
Edited by adarshcu: n/a