aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/java/4 inner class/com/mesonbuild/Simple.java
blob: fd0e0bfaa686d6861e80e64ca9efd2bb9cf5599a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.mesonbuild;

class Simple {
    class Inner {
        public String getString() {
            return "Inner class is working.\n";
        }
    }

    public static void main(String [] args) {
        Simple s = new Simple();
        Simple.Inner ic = s.new Inner();
        System.out.println(ic.getString());
    }
}