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
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