Can any one tell me why continue statement is not working in if ? i tried with following code
outA:
if(userValue==randomValue)
{
int luck=s.nextInt();
int randNo=(int)(Math.random()*(userValue*2+(1)));
int arrValue=point[i];
arrValue+=userValue;
point[i]=arrValue;
continue outA ;
}
but it shows error