77.2k views
4 votes
Write the reserve method of the Tables Schedule class. This method takes two

int parameters: k, a table number (an index in the schedules list), and
timeSlot, which represents the time of a dinner reservation. The method marks
three consecutive slots, starting at timeslot, as occupied for the k-th table,
leaving all other reservations unchanged. Complete the method reserve below.​

User Scalway
by
7.4k points

1 Answer

2 votes

Answer:

Plz g.j o answer my ela question cause I do not want to fail class

User MrMister
by
6.5k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.