title: what is the parameter passing to the OnClickListener()?
body: <p>I'm new to java with C family background. 
  I'm unable to dissect this code. If only you could help me by identifying what are the inner classes and interfaces in this block:</p>
  
   <pre><code>startButton.setOnClickListener(new View.OnClickListener(){
          public void onClick(View view)
          {         
                                
          usrnameobj = (EditText)findViewById(R.id.et_usename);
             usrpassobj = (EditText)findViewById(R.id.et_password); 
          String username = usrnameobj.getText().toString(); 
          String password = usrpassobj.getText().toString(); 
          
          Intent i=new Intent(getApplicationContext(),AndroidXmlResource.class);
          i.putExtra("entry",username.toString() + password.toString());
          startActivityForResult(i,REQ_CODE);
        
          }  
         });
  </code></pre>
  
  <p>I can only imagine up to:</p>
  
  <pre><code>startButton.setOnClickListener(new View.OnClickListener());</code></pre>
  
  <p>but nothing between { }</p>