Vidya , just see ur code........
class test
{
public static void main(String args[])
{
mridul: System.out.println("mridul makkar");
for(int i=0;i<3;i++)
{
continue mridul;
}}
}
continute wants a block with a label named mridul,also it should be associated to for loop too,which it is not getting thats why it is giving this error.
Alton , i got it label should be in front of some block, so why it fails when i am puting in front of a declaration .i could say it is a single statement block,is not it??
also the error message is saying :-- '.class' expected
what it means.....