In this program Is it possible to use the access specifier inside the method
class AccessTest{
int i;
public static void main (String... str)
{
int i;
private int a = 1;
protected int b = 1;
public int c = 1;
System.out.print (a+b+c);
}
}
what is the final output can anybody explain this ?