title: Basic about function in OOP Java
body: <pre><code>public void setTo(String to) {
          this.to = to;
      }
  
      public String getTo() {
          return to;
      }
  </code></pre>
  
  <p>What does above code do? In my project file I search for setTo function and there's no setTo() found, so how does it been called? and the this refer to?</p>