
Simple Example for Continue Lable in JAVA
class continueex
{
public static void main(String arg[])
{
lable1:for(int i=0;i<10;i++)
{
if(i%2==0)
{
System.out.println("Even Value:"+i);
continue lable1;
}
System.out.println("Odd Value:"+i);
}
}
}
Output
Even...