Minor changes to the toString() method

This commit is contained in:
Vivek Balasubramaniam
2019-10-19 18:00:56 +05:30
parent 88a83f5d2c
commit a5f90502fc

View File

@@ -48,7 +48,7 @@ public class Tree implements Cloneable {
@Override @Override
public String toString() { public String toString() {
return "SomeTree [mass=" + mass + ", height=" + height + ", position=" + position + "]"; return "Tree [mass=" + mass + ", height=" + height + ", position=" + position + "]";
} }
} }