predict the output:

package ex1;
public class ex1
{
int a=10;
static int b=40;
public static void main(String[]me)
{
ex1 E= new ex1();
System.out.println(E.a);
int c=30; // local var.
System.out.println(ex1.b);
System.out.println(c);
}
}


Posted on by