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

@SuppressWarnings("unused")
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; }
    }
}