Hi In the code below I have a `LocationManager` with `currentLong` and `currentLat` ,`vars`. On Button click I add `varLat1` and `VarLong1` to the arraylist Coordinates. How do I, using `Log.d` get the values of the array. `marcCoordinates.size()` gives me the correct size but `marcCoordinates.get(s)` gives me `gpsplotter.MainActivity$Coordinates@42204f70` HELP Thanks

```
public class MainActivity extends AppCompatActivity implements  LocationListener {

public class Coordinates {
public final double latitudeX;
public final double longitudeY;
public Coordinates(double lat, double lon) {
    latitudeX = lat;
    longitudeY = lon;}}

```

....

```
 ArrayList<Coordinates> marcCoordinates = new ArrayList<>();

```

....

```
button1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
    varLat1 = (currentLat);
    varLong1 = (currentLong);
marcCoordinates.add(new Coordinates(varLat1, varLong1));

```

...

```
int s =   marcCoordinates.size();
Log.d("log2",""+ marcCoordinates.get(s) + "" +    marcCoordinates.size());

```