aboutsummaryrefslogtreecommitdiff
path: root/src/test/test2/Nested3.java
blob: 9e9f1ab3a02ae9832cb71341ed0ef86067cfa5e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package test2;

@SuppressWarnings("unused")
public class Nested3 {
    private int i = 0;
    private int geti() { return i; }

    Nested3(int j) { i = 1; }

    private Nested3() { i = 2; }

    private Nested3(String s) { i = 3; }

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