Online Class Grading requires instructors to enter either a valid grade or the NG mark for all students officially enrolled in the class by the close of Online Class Grading. For classes not graded by the close of Online Class Grading for the term, the Registrar's Office will record the NG mark for all students.
The simplest form of the multidimensional array is the two-dimensional array. A two-dimensional array is, in essence, a list of one-dimensional arrays. Where type can be any valid C++ data type and arrayName will be a valid C++ identifier.
construct two dimensional object array(Object[][]) from the individual ResultSet and merge the tow arrays. Or you can use Collection. keeping two different ResultSet is not a good idea becuase unless you close the ResultSet it still attached to the Connection. By the way you can modify your SQL to get everything in one single ResultSet probably you can use SQL JOIN.