Simple error on simple code, but I don't get it?
<p>I'm getting this error:</p>

<pre><code>Syntax error on token ";", , expected
</code></pre>

<p>On this very simple code:</p>

<pre><code>TextView bio = (TextView)findViewById(R.id.biographyText);

    String bioText = new String();

    bioText = bio.getText().toString();
</code></pre>

<p>The error is on the semicolon after "new String()" </p>

<p>What's wrong with this? In the end, if someone clicks on the TextView, it'll change the text to whatever they enter.</p>

<p>Here's the whole Java class:</p>

<pre><code>public class Profile extends Activity{


@Override
protected void onCreate(Bundle savedInstanceState) {
    // TODO Auto-generated method stub
    super.onCreate(savedInstanceState);
    }


TextView bio = (TextView)findViewById(R.id.biographyText);

String bioText = new String();

bioText = bio.getText().toString();


}
</code></pre>
