title: What does "this" mean?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/6547310/java-this-method-vs-method">Java this.method() vs method()</a>  </p>
  </blockquote>
  
  
  
  <p>I've been reading some things and doing some tutorials about android java but I still dont understand what "this" means, like in the following code. </p>
  
  <pre><code>    View continueButton = this.findViewById(R.id.continue_button);
      continueButton.setOnClickListener(this);
      View newButton = this.findViewById(R.id.new_button);
      newButton.setOnClickListener(this);
  </code></pre>
  
  <p>Also why is it in this example that a button is not defined with Button but with View, what is the difference?</p>
  
  <p>ps. Great site!! trying to learn java and got ALLOT of answers by searching here!</p>