<p>I think I remember my teacher saying that if you had private variables from the same class, you can still access them. In this case, I think you can just do other.numNodes and other.front to modify/access them.</p>
<p>I think I remember my teacher saying that if you had private variables from the same class, you can still access them. In this case, I think you can just do other.numNodes and other.front to modify/access them.</p>