diff --git a/Outer.java b/Outer.java new file mode 100644 index 0000000..584a5c3 --- /dev/null +++ b/Outer.java @@ -0,0 +1,15 @@ +package internal; + +class Outer { + static int data = 59; + static class inner{ + void show() { + System.err.println("data" +data); + } + } + public static void main(String args[]) { + Outer.inner o = new Outer.inner(); + o.show(); + } + +}