Declare a class in another class in android
<p>i want to use a class in another class 
e.g</p>

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

    public void save() {
        //
    }
}

public class Startuo extends Activity {
    .
    .
    .
    .
   storge s=new stoge();
   s.save();
}
</code></pre>

<p>when i run it the program stop immediately!! Do i have to add a permission or something to let it work ??? are there wrong in the declaration or what ?  </p>
