title: Is it better use getter methods or to access private fields directly when overriding toString?
body: <p>I've seen both approaches used but have never heard that one way is preferred over the other for any particular reason.</p>
  
  <pre><code>public String toString() {
    return this.field1 + " " + this.field2;
  }
  </code></pre>
  
  <p>versus</p>
  
  <pre><code>public String toString() {
    return getField1() + " " + getField2();
  }
  </code></pre>
  
  <p>I used String concatenation in my example to keep the code brief.</p>