"syntax error on token ";" ,, expected" after private ... adapter
<p>It writes syntax error on token ";" ,, expected after the line <code>private ArrayAdapter adapter ;</p>

<pre>package ru.for_listactivity;

import android.os.Bundle;
import android.app.ListActivity;
import android.view.Menu;
import android.widget.ArrayAdapter;

public class MainActivity extends ListActivity {

@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setListAdapter(adapter);
}

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

    final String[] catnames = new String[] { "Рыжик", "Барсик", "Мурзик",
    "Мурка", "Васьк", "Томасина", "Бобик", "Кристина", "Пушок",
    "Дымка", "Кузя", "Китти", "Барбос", "Масяня", "Симба" } ;

private ArrayAdapter&lt;String&gt; adapter ; // here is a problem

adapter = new ArrayAdapter&lt;String&gt;(this,
android.R.layout.simple_list_item_1, catnames);

} 
</code></pre>
