diff --git a/src/Body.java b/src/Body.java
index 69fd084..acc0650 100644
--- a/src/Body.java
+++ b/src/Body.java
@@ -110,6 +110,7 @@ public class Body {
      * mass, position (mass center) and current movement. Example:
      * "5.972E24 kg, position: [1.48E11,0.0,0.0] m, movement: [0.0,29290.0,0.0] m/s."
      */
+    @Override
     public String toString() {
         return String.format(
                 "%g kg, position: %s m, movement: %s m/s.",
diff --git a/src/BodyForceTreeMap.java b/src/BodyForceTreeMap.java
index 719f168..65f750d 100644
--- a/src/BodyForceTreeMap.java
+++ b/src/BodyForceTreeMap.java
@@ -101,6 +101,7 @@ public class BodyForceTreeMap {
      * Returns a readable representation of this map, in which key-value pairs are ordered
      * descending according to the mass of the bodies.
      */
+    @Override
     public String toString() {
         return toString(root);
     }
diff --git a/src/Vector3.java b/src/Vector3.java
index 4788cb8..fa74576 100644
--- a/src/Vector3.java
+++ b/src/Vector3.java
@@ -97,6 +97,7 @@ public class Vector3 {
      * Returns the coordinates of this vector in brackets as a string
      * in the form "[x,y,z]", e.g., "[1.48E11,0.0,0.0]".
      */
+    @Override
     public String toString() {
         return String.format("[%g,%g,%g]", x, y, z);
     }