Object-Oriented Programming 1: 2.1 Date Night Class Diagram

  1. Create a class diagram
    1. Download the starting code.
    2. 2.1 Date Night code (download)

      Note: This is the same starting code used in this week's debugging quiz.

    3. Using the given starting code, create a UML class diagram to represent the classes listed below.
    4. Note: Include all the fields for each class and references between them.

      Tip: Spacing and capitalization must match the code precisely to receive full credit.

      1. Guy
      2. City
      3. Car
      4. Barbershop
      5. House
      6. GasStation
  2. Export diagram and submit to Blackboard
    1. Save the diagram by clicking File | Save in Violet.
    2. Tip: Ensure that Violet adds a .class.violet extension to the file when saving.

    3. Export the diagram by clicking File | Export to | Image file in Violet and exporting a .png file.
    4. Submit the diagram by uploading the .png file to Blackboard.