Is there any way to get the super classes of an interface?
See this;
Code:
public interface Account extends AbstractAccount, BaseAccount
{
}
I want to know get the AbstractAccount and BaseAccount. I have loaded class with ;
Code:
Class _account = Class.forName("Account");
From
Code:
_account
, I want to know the super classes of that.
Regards;
Stephen
10-17-2005, 04:32 AM
gulapala
hai,
why don't you see the reflection techniques. Is the concept in java by which the executing thread knows all the properties of its own. You can download the thinking in java by bruceeckel from http://www.planetpdf.com/developer/a...ContentID=6632.
and go through the tenth(10) chapter for reflection concepts.
10-17-2005, 08:26 AM
swmk
I have tried this;
Code:
_class.getSuperClass();
But, it didn't work. I think 'coz of interface. Thanks for the link.