Professional Documents
Culture Documents
}
public class MNWS {
public static void main(String[] args) {
TimeTable tTable = new TimeTable(5,7);
/* Erase this comment block once info. is gotten... I'm creating five
objects with dummy names such as "Shoe"...replace such names with realistic
ones like "Ade"...I have also chosen random slots, replace them too
this is done to ensure diversity and not attract any suspicion
...regards
*/
tTable.makeBooking(1, 5, new Booking("Kilamuwaye", "room9"));
tTable.makeBooking(2, 2, new Booking("HackMan", "room2"));
tTable.makeBooking(5, 1, new Booking("Drake", "room8"));
tTable.makeBooking(4, 4, new Booking("Woody", "room4"));
tTable.makeBooking(3, 7, new Booking("Axis", "room6"));
tTable.printTable();
}
}