Resources‎ > ‎Programming‎ > ‎Object-Oriented Design‎ > ‎OO Tutorial‎ > ‎

Lesson 6

Your task is to model USyd's University Village. The University Village has the following rooms:

  • Single (40 rooms)
  • Twin (20 rooms)
  • Double (15 rooms)
  • Family (10 rooms)

Each room has its own room number. The availability of each room should also be managed. Furthermore, the daily price for each room is set as:

  • Single ($62)
  • Twin/Double ($90)
  • Family ($120)


Sample Solutions
Subpages (1): Sample Solutions
Comments