inner class baeldung

Solutions on MaxInterview for inner class baeldung by the best coders in the world

showing results for - "inner class baeldung"
Alizee
02 Apr 2016
1public class Enclosing {
2     
3    private static int x = 1;
4     
5    public static class StaticNested {
6 
7        private void run() {
8            // method implementation
9        }
10    }
11     
12    @Test
13    public void test() {
14        Enclosing.StaticNested nested = new Enclosing.StaticNested();
15        nested.run();
16    }
17}
18