Comp Sci AB question: Error in sample free response question?

<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>