How can I add an Object to its Array??? When I create an instance of a Class and try to assign it to its array it gives me a Null Pointer Exceptions .... the line below in BOLD is where I get the exception.
Is this legal in Java??? if Yes, why am I getting a Null Pointer Exception, or is there something else I need to do ???
All suggestions are greatly accepted and thanked for.