hi,
though u r question is not clear i assume u would like to know how to find out the name of the class of a given object instance.
In case u want more info about a given class use the reflection API.
I have written a small program for this.
class demo
{
public static void main(
String[] args)
{
demo c=new demo();
String s=c.getClass().getName();
System.out.println(s);
}
}
Hope this helps.
Regards.
Rahul