Setting listeners

#1

Greetings,

I am adding a set listener for a true button and simply copying the code from the book here as it’s not a challenge exercise. The error says that annotations are not allowed here (where the override is written under the onclick listener. Also there is a parenthesis after a bracket which seems incorrect, but I am totally novice. Can someone advise on what is going on here?

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_quiz);

    mTrueButton = (Button) findViewById(R.id.true_button);
    mTrueButton.setOnClickListener(new View.OnClickListener()){
        @Override
          public void onClick(View v){

            //Does nothing but will soon!

        }


    });
    mFalseButton = (Button) findViewById(R.id.false_button);
}