Activity variable increment while calling again
<p>I have 2 activity</p>

<ul>
<li>Tranning Activity</li>
<li>Question Activity</li>
</ul>

<p>i have set one integer variable in question activity like :: <code>int a=0;</code>at the end of activity i jump from <code>Question part</code> to <code>Training part</code>.i call from question part to training part <code>5</code> time.But confusion is that how can i increment <code>"a" variable</code> each time while <code>Question part</code> call?  </p>

<p><a href="http://stackoverflow.com/questions/6069850/how-to-store-variable-in-phone-memory-android"><h3> Is it possible by this?</h3></a></p>

<pre><code>if(yes)
{  
  how ?
}
else if(no) 
{
   any other Option are there? how?
}
</code></pre>

<h2><i>Update ::</i></h2> 

<p><strong>confusion ?</strong><br>
let me explain <h3>run project >> tranning is start >> question is start and variable a is 0 >> tranning is start >>question is start and variable a is 1 >> tranning is start >> question is start and variable a is 2 like that .... a is 5 </h3></p>
