Question: AP CS A Unit 5 January 22nd, 2019 (a) Write the constructor for the Seating Chart class. The constructor initializes the seats instance variable to

AP CS A Unit 5 January 22nd, 2019 (a) Write the constructor for the Seating Chart class. The constructor initializes the seats instance variable to a two-dimensional array with the given number of rows and columns The students in student List are copied into the seating chart in the order in which they appear in studentList. The students are assigned to consecutive locations in the array seats, starting at seats[0][0] and filling the array column by column. Empty seats in the seating chart are represented by null. For example, suppose a variable List
Step by Step Solution
There are 3 Steps involved in it
To write the constructor for the SeatingChart class we need to initialize a twodimensional array of ... View full answer
Get step-by-step solutions from verified subject matter experts
