class A { static { System.out.println(y); } static int y=10; }
class A { static int i=m1(); static int m1() { System.out.println(y); return 10; } static int y=10; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)