Question: Increment the anxietyLevel property every time a Mayor instance is notified of a Zombie attack. Last, as a mayor will not want to outwardly display
Increment the anxietyLevel property every time a Mayor instance is notified of a Zombie attack. Last, as a mayor will not want to outwardly display anxiety, mark this property as private. Verify that this property is not accessible in main.swift.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
