I\'m looking to test some code I\'ve written and to do so I need to construct a variable of type Location and to give it a long / lat value but I\'m unsure how I would do so. An
Location object = new Location("service Provider");
it will create an object of Type Location that contains the initial Latitude and Longitude at location '0' to get the initial values use
double lat = object.getLatitude(); double lng = object.getLongitude();