A suggestion on how to answer questions of that type: read the API doc. For example, use the Index (top, to right of center on the Java API page) for a method like getClass and the see how to use that method and what it returns. Then look at what it returns and see if there is any help there.
Joined: Feb 23, 2007
You've been given good advice here, but I have to ask you: why do you want this information? There are times when it reflection be helpful, but there are other times where it is inappropriate and can even suggest design flaws. Perhaps you really don't need to know this, and perhaps there is another way to solve your current issue. So, if you come back to this thread, please let us know some background if possible, and many here will be able to tell you if your use of reflection is necessary or not.