• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Saving details of rooms

 
Ross McManus
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am creating a hotel booking system.

On the sheet I have it tells me

"You will be asked to save details of rooms. Remember to add the appropriate interface in the Room class declaration. "

I a GUI done which is this




I don't understand which room details I have to save. I guess it will be the roomNumber, type, capacity, rate etc but do I just save what is in the toString methods on each class or would I have to create rooms then save them like on the GUI I have bedroom's 201 to 212 do I have to create 12 bedroom objects then save the details of them?

Later on it says that I have create a vector of the rooms to be searched.

The code I have so far for the Room, Bedroom & MeetingRooms are.









 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic