Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
Thread: new to java - paper submission
11-23-2007, 04:45 AM #1
- Join Date
- Nov 2007
- Thanked 0 Times in 0 Posts
new to java - paper submission
as part of my paper submission for coursework based on a software model of a hotel im being asked the following question -
draw a diagram showing the state of the hotel after the constructor has been invoked
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
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.
11-23-2007, 06:41 AM #2
- Join Date
- Aug 2007
- Thanked 1 Time in 1 Post
sounds like you got more with the question, such as what the paramerter is about with the hotel.
or something atleast i wouldent get what objects and feilds there talking about to list and whatever...
11-24-2007, 04:37 AM #3
If you do indeed have code, post it and we can help you out, but NOT give you the answer."To iterate is human, to recurse divine." -L. Peter Deutsch