spentTime property
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;
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.
int spentTime;