In my android application i made the mistake of calling startActivity method after finish() but still I was able to move to the next activity. I want to know how this happened shouldn't the activity be destroyed before the startActivity is executed Here is a Sample Code
Intent N=new Intent(A.this,B.class);
finish();
startActivity(N);
I am able to move to Activity B without any problem and also Activity A is destroyed