Skip to content
Griffin Lamb edited this page Nov 13, 2024 · 6 revisions

This is a multi-part project aimed at testing your ability to read UML and understand programming principles and concepts

Part 1

UML of Dog Park


Apply DogPark in Main

  1. Declare & Instantiate

    1. 2 DogParks, 1 for each constructor

  2. Populate Dog Parks

    1. 49 dogs in your first park

    2. 20 dogs in your second park

  3. Output both maxCapacity and currentCapacity for both parks in terminal

  4. Remove dogs from park

    1. 5

    2. 15

  5. Output currentCapacity for both parks

  6. Close both parks

  7. Output currentCapacity