1 package test2; 2 3 @SuppressWarnings("unused") 4 public class Nested2 { 5 private int i = 3; 6 private double d = 3.0; 7 private String s = "OK"; geti()8 private int geti() { return i; } getj(int k)9 private static int getj(int k) { return k; } seti(int i)10 public void seti(int i) { this.i = i; } 11 12 public static class Inner { f()13 public int f() { return 1; } g()14 public static int g() { return 1; } 15 } 16 } 17