The clаss Seаt describes а seat оn an airplane: public class Seat { private int seatRоw; private String seatLetter; private bоolean occupied; private Passenger passengerInSeat; //other variables not shown public Seat(int row, String letter) { seatRow=row; seatLetter=letter; occupied=false; passengerInSeat=null; } public void assign(Passenger p) { passengerInSeat=p; occupied=true; } public Passenger getPassenger() { return passengerInSeat; } public boolean getOccupied() { return occupied; } public int getRow() { return seatRow; } public String getLetter() { return seatLetter; } //other methods not shown } A Seat object has a row and seatLetter. When a Seat object is instantiated, it has a null Passenger object, and the variable occupied is false. When the method assign is called, the Passenger object parameter is saved in the variable passengerInSeat, and occupied is set to true. The Passenger class describes an airplane Passenger: public class Passenger { private String lastName, firstName; //other variables not shown public Passenger(String last, String first) { lastName=last; firstName=first; } public String getName() { return firstName+ " " +lastName; } //other methods not shown A Passenger object has a lastName and firstName. In a client program, the array allSeats contains a Seat object for each seat on the airplane. An element of allSeats may be unoccupied, or occupied by a Passenger who has been assigned the Seat. The following code segment, when completed, will print the Passenger name and row and seat letter for each Seat in allSeats that is occupied by a Passenger: for (int i=0;i