What happens with the x variable in the "for" loop?
Posted: Mon Nov 30, 2015 5:59 am
As we all know, JCVM doesn't have garbage collector. So in a for loop:
Does the x variable get utilized after the for loop, or it turns into garbage? What happens with the x variable in the for loop?
Code: Select all
for(short x=0;x<5;x++)
{
}
Does the x variable get utilized after the for loop, or it turns into garbage? What happens with the x variable in the for loop?