spentTime property

int spentTime
getter/setter pair

int spentTime; is declaring a property named spentTime of type int in the Region class. This property will hold an integer value representing the amount of time spent in a specific region.

Implementation

int spentTime;