A
Andrea Francia
If I would dynamically implements a interface called Foo, I can use:
Foo f = (Foo) Proxy.newProxyInstance(Foo.class.getClassLoader(),
new Class[] { Foo.class },
handler);
But this doesn't work if Foo is a class.
There is any way to dynamically extends a class?
Foo f = (Foo) Proxy.newProxyInstance(Foo.class.getClassLoader(),
new Class[] { Foo.class },
handler);
But this doesn't work if Foo is a class.
There is any way to dynamically extends a class?