aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test2/Nested2.java
blob: f23439bd5d2e452dc1e31b3f951847a75fd047d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package test2;

public class Nested2 {
    private int i = 3;
    private double d = 3.0;
    private String s = "OK";
    private int geti() { return i; }
    private static int getj(int k) { return k; }
    public void seti(int i) { this.i = i; }

    public static class Inner {
        public int f() { return 1; }
        public static int g() { return 1; }
    }
}