Get the fully-qualified name of a inner class : Object « Reflection « Java
- Java
- Reflection
- Object
Get the fully-qualified name of a inner class
public class Main {
public static void main(String[] argv) throws Exception {
Class cls = java.util.Map.Entry.class;
String name = cls.getName();
System.out.println(name);
}
}
Related examples in the same category