Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Array Loading


  • From: guy.advjava@xxxxxxxxx (Guy Scharf)
  • Subject: Array Loading
  • Date: Thu, 30 Mar 2000 12:57:31 -0800

Leonard,

"buyerList buyDistArray[] = new buyerList[100];" creates an array of handles
to buyerList objects.  It does not create the objects themselves.  For each
iteration, you need to add:

   buyDistArray[x] = new buyerList();

Guy

From: Leonard Fernandes [mailto:leo_peo@xxxxxxxxx]

Hi,
I was just wondering if you could help me in loading this array of objects.
I get a NullPointerException while doing this.

The code is included as an attachment.

Thanks in advance,

Leonard


---
To unsubscribe, mail advanced-java-unsubscribe@xxxxxxxxxxxxxxxx
To get help, mail advanced-java-help@xxxxxxxxxxxxxxxx