interface Inter {
public abstract void show();
}
class Outer {
public void method() {
new Inter() {
public void show() {
System.out.println("show");
}
};
}
}
class InnerClassDemo6 {
public static void main(String[] args) {
Outer o = new Outer();
o.method();
}
}