A
Aakash
HI, I have a simple program which does not compile:
public class class1{
public static void main(String[] args)
{
static int i=0;//static is not allowed, why?
}
}
Can you tell me why this is not allowed?
Thanks
Aakash
public class class1{
public static void main(String[] args)
{
static int i=0;//static is not allowed, why?
}
}
Can you tell me why this is not allowed?
Thanks
Aakash