Hashtable : If Hashtable is used in our application ,then any manipulation of its reference prior creating the object will throw NullPointerException.
String array : If String array is initialized at the beginning, but , if at a later point , if that String array calls a function which returns null, then , trying to get the length of that String array will throw NullPointerException
No comments:
Post a Comment