001package subclass.ex5;
002
003public class M {
004        public static void main(String[] argv) {
005                (new B()).m();
006        }
007}
008class A {
009        static void p() {
010                System.out.println("A.p: " + x); // which x?
011        }
012        static final int x = 42;
013}
014@SuppressWarnings("all")
015class B extends A {
016        void m() {
017                this.p();
018                System.out.println("B.m: " + x); // which x?
019        }
020        static final int x = 27;
021}