Colleagues, where I am stupid, help. Mistake.
class myOld{ public int oldN =1; } class myNew extends myOld{ super.oldN=2; } public class JavaApplication16 { public static void main(String[] args) { myNew i = new myNew(); System.out.println(i.oldN); } }