I am using Java SE on NetBeans 7.3.1.
I would like to form a Java array similar to the following in C
typedef struct sNewStruct{
int min;
int max;
} NewStruct;
NewStruct nsVar[19];
I tried the following
class IntRange{
int min, max;
}
IntRange[] rangeNodes = new IntRange[19];
My problem is that, while rangeNodes is successfully allocated, all of its elements are nulls.
new IntRange()to every single one of them.