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