I am trying to store
int[] a=new int[10];
int[] b=new int[20];
int[] c=new int[30];
int[] d=new int[40];
variables a,b,c,d in an array. I don't know how to do it. For user defined type such as objects of myclass I can create an array of type myclass such as
myclass[] m=new myclass[2];
and store references in this array. I don't know how to do this for primitive data types such as int, char etc