Errors "Syntax error on token(s), misplaced construct(s), VariableDeclaratorId expected after this token MainActivity.java"
<pre><code>package com.example.temp_application;

import java.util.ArrayList;

import android.app.Activity;
import android.os.Bundle;
import android.view.Menu;
import android.widget.ArrayAdapter;
import android.widget.EditText;
import android.widget.ListView;

public class MainActivity extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.activity_main, menu);
        return true;
    }

    final ListView myLV = (ListView)findViewById(R.id.myLV);
    final EditText myET = (EditText)findViewById(R.id.myET);

    final ArrayList&lt;String&gt; todoList = new ArrayList&lt;String&gt;();
    final ArrayAdapter&lt;String&gt; aa = new ArrayAdapter&lt;String&gt;(this, android.R.layout.simple_list_item_1, todoList);

    myLV.setAdapter(aa);
}
</code></pre>

<p>I get errors:</p>

<blockquote>
  <p>Syntax error on token(s), misplaced construct(s), Syntax error on token "aa", VariableDeclaratorId expected after this token   MainActivity.java</p>
</blockquote>

<p>on this line</p>

<pre><code>myLV.setAdapter(aa);
</code></pre>
