latitude property

double latitude
getter/setter pair

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

Implementation

double latitude;