java.lang.Class.getInterfaces() java.lang.Class.getGenericSuperClass() java.lang.Class.getMethod() java.lang.Class.getInterfaces() package com.codingdict; import java.lang.*; import java.util.*; public class ClassDemo { public static void main(String[] args) { show(Thread.class); } public static void show(Class cls) { System.out.println("Class = " + cls.getName()); Class[] c = cls.getClasses(); System.out.println("Classes = " + Arrays.asList(c)); // returns an array of interfaces Class[] i = cls.getInterfaces(); System.out.println("Interfaces = " + Arrays.asList(i)); } } java.lang.Class.getGenericSuperClass() java.lang.Class.getMethod()