date property

int date
getter/setter pair

int date; is declaring a property named date of type int in the Location class. This property will be used to store the date value of a location.

Implementation

int date;