longitude property
double longitude;
is declaring a property named longitude
of type double
in the
Poi
class. This property will hold the longitude information of a Point of Interest (POI)
object. The double
type indicates that the longitude value can be a decimal number.
Implementation
double longitude;