longitude property

double longitude
getter/setter pair

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

Implementation

double longitude;