Monday, August 8, 2011

Null Pointer exception Java?

You never igned a value to method. Simply instantiating the variable isn't enough. You have to ign it a value of some sort or invoke the object's constructor.

No comments:

Post a Comment