draw a diagram showing the state of the hotel after the constructor has been invokedim not exactly sure what i have to do here..
with a parameter value of 3. To show a state of the object you need to list its fields
and the value of each of those fields. For reference types, draw an arrow from the field to
the object it represents. You should also show the state of any Room and Occupier objects that have
been created.
can someone explain it to me?
i especially dont understand the "showing the state of the hotel after the constructor has been invoked
with a parameter value of 3" bit of it.
many of the other questions are phrased this way, so if you could give m some advice on what to do id really appreciate it.