The result of this code is different depend on type of reference variable does this mean variables (int a) are bounded in static way
class A{
int a = 10;
}
public class Main extends A {
int a = 30;
public static void main(String[] args){
A m = new Main();
System.out.println("A : " + m.a);
}
}