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
- References:
- Array Loading
- From: Leonard Fernandes
- Array Loading
- Prev by Date: Finding the fully qualified class name from a class file.
- Next by Date: Finding the fully qualified class name from a class file.
- Previous by thread: Array Loading
- Next by thread: Array Loading
- Index(es):