Proxy instance of a class that does not implement any interface.
posted 5 years ago
Can anyone please explain me whether it is possible to create proxy for a class that don't implement any interface. I have seen the examples for java.lang.reflect.Proxy and I could see that it is possible to create a proxy for a class which implment certain set of interfaces by using API
in Proxy class. Though this API expects interface as its second parameter. Is it possible to create proxy object without any interface ?