Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
toString is an instance method. It can access all of the instance variables you need. Do not instantiate a new Object in your toString methods.

Aside from that, there is no MeetingRoom constructor that takes 0 parameters. This is why you ran into problems. There are Room and BedRoom constructors that take 0 parameters each.

It seems that this has come up 5-6 times so far. There are three parts to every method signature... the return type, the name, and the parameter count/types. You are often trying to call methods that don't exist. To see if you can call a method, see if there is a method with the name and parameter types defined. if there isn't, you won't be able to call it. If you've defined all of your method stubs, and you don't find a method with this signature, you are doing something wrong. The UML defined all of the methods you need, so if what you're trying to call isn't one of them, you aren't calling the right thing.

-Lee
 
As Lee as already stated you shouldn't be instantiating new objects within any of your toString() methods.

Code:
public String toString()
{
   MeetingRoom mtroom = new MeetingRoom();
   return customer + " is in: " + roomNumber + " " + "the capacity of this room is" + mtroom.getCapacity() + " " + " " + " at a price of " + rate;
}

should look more like

Code:
public String toString()
{
   return this.getCustomer() + " is in: " + this.getRoomNumber() + " " + "the capacity of this room is" + this.getCapacity() + " " + " " + " at a price of " + this.getRate();
}

You need to take another look at your constructors, and any rooms that need instantiating would be in your test class. For example the constructor for MeetingRoom should be along the lines of...

Code:
public MeetingRoom(int t, double r, int c)
{
   this.super();
   this.roomNumber = t;
   this.rate = r;
   this.seatingCapacity = c
}

If possible I would seriously consider looking through your notes and study material either while writing the code or before you start writing more code.
 
I don't mean to be disrespectful, but are you certain that you have the necessary prerequisites for this course?

You seem to be getting hung up on some very trivial things. The assignment appears to be an OOP or SW Engineering type, but you don't seem to understand what a class is or what an instance is. (Let alone what an enumerated type is)

I usually relish getting involved in Java related threads but your original post left me with the impression you were looking for someone to finish your assignment.

I went to school with people whose assignments could not, in honesty, be called their own. I didn't find it fair. It remains to be seen if you can produce your own code from an explanation rather than copying what others may have provided to you.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.