public class GPSping {
private double pingLat;
private double pingLon;
private int pingTime;
public GPSping(double Lat, double Lon, int Time)
{
pingLat = Lat;
pingLon = Lon;
pingTime = Time
}
public int timeTo(GPSping anotherPing)
Using this exact method signature above (timeTo) how do I create a secondary GPSping?
My goal is to create a method that calculates the time between two pings.