I am having two classes in java. I am trying to call one class in other class like we write structures in C.
say in a.java i have declared variables as string x; string y;
and in b.java i have variables as char lineIsSelected, String termNum, String heading1, String heading2
But i have to make b.java as array.
so i called b.java in a.java as
I have a numberofmatrixlines on which the loop is formed.
i had wriiten the code as follows
public void createUpdStruct(int size)
updStruct = new updCHSMatrixStruct[size];
public void setUpdStruct(int size, int index)
updStruct[index].lineIsSelected = lineIsSelected;
updStruct[index].heading1 = heading1;
updStruct[index].heading2 = heading2;
updStruct[index].termNum = termNum;
public updCHSMatrixStruct getUpdStruct(int size)
but when i call it on c side it fails .
can anyone help me with this.