Calling outer class function from inner class
You need to prefix the call by the outer class:
Outer.this.show();
This should do the trick:
Outer.Inner obj = new Outer().new Inner();
obj.show();
You need to prefix the call by the outer class:
Outer.this.show();
This should do the trick:
Outer.Inner obj = new Outer().new Inner();
obj.show();