How to construct a class diagram?

(b) Write code to implement ALL the methods found in the above class diagram.?

  • (b) Write code to implement ALL the methods found in the above class diagram. Additional information: • The private data member, isFull has the value either true or false. True means no available rooms whilst false is the vice versa. • The method setChargePerNight(rate: double, price: double) computes the charges by multiplying the rate with price. • The method display() prints out all the private data members of the class. (15 marks)

  • Answer:

    WHich class diagram. Invisible!!!

James Bond at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

WHich class diagram. Invisible!!!

James Bond

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.