import java.util.Objects;

/*
 * Represents a <x, y, z> point.
 */

public class ThreeDPoint
{
    public ThreeDPoint (int x, int y, int z)
    {
        _x = x;
        _y = y;
        _z = z;
    }

    protected ThreeDPoint (ThreeDPoint toCopy)
    {
        _x = toCopy._x;
        _y = toCopy._y;
        _z = toCopy._z;
    }

    public final int getX ()
    {
        return _x;
    }

    public final int getY ()
    {
        return _y;
    }

    public final int getZ ()
    {
        return _z;
    }
    
    @Override
    public int hashCode ()
    {
        return Objects.hash(_x, _y, _z);
    }

    @Override
    public boolean equals (Object obj)
    {
        if (obj == null)
            return false;

        if (this == obj)
            return true;
        
        if (getClass() == obj.getClass())
        {
            ThreeDPoint temp = (ThreeDPoint) obj;

            return ((_x == temp._x) && (_y == temp._y) && (_z == temp._z));
        }

        return false;
    }

    protected int _x;
    protected int _y;
    protected int _z;
}
@@ -507,16 +507,118 @@
 z;%0A    %7D
+%0A%0A    @Override%0A    public String toString ()%0A    %7B%0A        return %22%3C %22+_x+%22, %22+_y+%22, %22+_z+%22 %3E%22;%0A    %7D
 %0A    %0A  

Update ThreeDPoint.java