Android activity
<p>Hi everyone when I want to start this activity it's start correctly </p>

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


     public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       setContentView(R.layout.groups);
     }
   }
</code></pre>

<p>But if I add something to this code like this it generate an error :</p>

<pre><code> public class Groups extends Activity {
    long x = 10;

    public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.groups);
     }
  }
</code></pre>
