import org.apache.commons.lang.ClassUtils;
public class MainClass {
public static void main(String[] args) {
System.out.println("1) Interfaces implemented by java.lang.String >>> "
+ ClassUtils.getAllInterfaces(String.class));
}
}
1) Interfaces implemented by java.lang.String [interface java.io.Serializable, interface java.lang.Comparable, interface java.lang.CharSequence]