Is the following right to passing an int array[6][300] from my
servlet to a object class
This is the object class to receive the parameters from my servlet
import java.io.*;
public class data implements Serializable{
public boolean a;
public int[][] b;
public data(boolean arg1,int[][] arg2){
a=arg1;
b=arg2;
}
my servlet will do something then get an array d and boolean:
data c;
int[][] d;
boolean e=flase;
d=new int[6][300];
...
c=new data(e,d);
Is this possible to pass array d obtained in my servlet to the data class c?