title: Is it ok to access a private property of another second data object in the first data object's method?
body: <p>As the question states, if the call is queue1.compareQueues(queue2), is it ok to access queue2.frontNode within the queue1's method?</p>
  <pre><code>bool Queue::compareQueues(Queue&amp; queue2) {
      Node* queue1Pointer = frontNode;
      Node* queue2Pointer = queue2.frontNode;
      return true;
  };
  </code></pre>