Getting the name of a Class object is an easy task. You get the class name of any Class object using the getName() method. The String returned by the getName() method will be the fully qualified class name. So for example, if in this phrase, the someObject variable is an instance of the String class, the name returned from the call to getName() will be java.lang.String |