wood burning stoves 2.0
The moose likes Java in General and the fly likes Saving details of rooms Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Saving details of rooms" Watch "Saving details of rooms" New topic

Saving details of rooms

Ross McManus

Joined: Jul 28, 2010
Posts: 28
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.

I agree. Here's the link: http://aspose.com/file-tools
subject: Saving details of rooms
It's not a secret anymore!