arrays of arrays with different length in java -
my question can declare arrays in passion
int college[][][];
it contains 3 blocks departments, students, marks
i need 5 students in 1 department , 6 students in department
can declares arrays this. if how?
int college[][][] = new int[3]; college[0] = new int[5]; college[1] = new int[6]; ... college[0][0] = new int[count_marks_dept1_student1];
Comments
Post a Comment