problem in .java
<p>this is my java code and i really can not find where is my wrong</p>

<pre><code>  package com.example.RateMates;



      import  android.app.Activity;
      import android.content.Intent;
      import android.os.Bundle;
      import android.view.View;
      import android.view.View.OnClickListener;
      import android.widget.Button;
      import android.widget.RadioButton;
      import android.widget.Toast;


  public class RateMates extends Activity {


/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.main);

    final RadioButton radio_red = (RadioButton) findViewById(R.id.radio_red);
    final RadioButton radio_blue = (RadioButton) findViewById(R.id.radio_blue);
    radio_red.setOnClickListener(radio_listener);
    radio_blue.setOnClickListener(radio_listener);
} 
private OnClickListener radio_listener = new OnClickListener() {
    public void onClick(View v) {
        // Perform action on clicks
        RadioButton rb = (RadioButton) v;
        Toast.makeText(RateMates.this, rb.getText(), Toast.LENGTH_SHORT).show();
    }

};

Button next = (Button) findViewById(R.id.button);
next.setOnClickListener(new View.OnClickListener() {
    public void onClick(View view) {
        Intent myIntent = new Intent(view.getContext(), RateMates2.class);
        startActivityForResult(myIntent, 0);
    }

});
</code></pre>

<p>}}</p>
