diff --git a/src/A.java b/src/A.java new file mode 100644 index 0000000..4f7e82a --- /dev/null +++ b/src/A.java @@ -0,0 +1,14 @@ +public class A { + private C c; + private double value; + public A(C c) { + this.c = c; + } + public double getValue() { + return this.value; + } + public void updateGPS(double lat2, double long2) { + this.value = lat2; + this.c.updateLatitude(this.value); + } +} \ No newline at end of file