Hello Group.
How can I create an array of Hashtables?
I simply tried with
Hashtable ht[] = new Hashtable[10];
but when I put something into that array I get an nullpointer
exception.
ht[0].put("Name1", "Value1");
But isn't this the right way to address an array? So I expect this one
to be addressed in the same way.
Knows anyone help?
THX, Ante
How can I create an array of Hashtables?
I simply tried with
Hashtable ht[] = new Hashtable[10];
but when I put something into that array I get an nullpointer
exception.
ht[0].put("Name1", "Value1");
But isn't this the right way to address an array? So I expect this one
to be addressed in the same way.
Knows anyone help?
THX, Ante
Comment