1package version; 2 3public class Nested { 4 public int getVersion() { 5 return 9; 6 } 7 8 protected void doNothing() { 9 } 10 11 class nested { 12 int save = getVersion(); 13 } 14} 15