can i create a anonymous class which can implement two interfaces
i mean...
we can create classes like this
Object objref= new MyInterface1(){};
can we create something like this
Object objref= new (MyInterface1 extends MyInterface2) () {};
instead of
class MyClass implements MyInterface1,MyInterface2{};