Use a one-dimensional array of primitive type boolean to represent the seating chart of the
plane. Initialize all the elements of the array to false to indicate that all the seats are
empty. As each seat is assigned, set the corresponding elements of the array to true to
indicate that the seat is no longer available.
標簽:
one-dimensional
primitive
represent
the
上傳時間:
2013-12-22
上傳用戶:zhichenglu