Interfaces for a primitive type is an empty array


public class Main {
  public static void main(String[] argv) throws Exception {

    Class cls = int.class;
    Class[] intfs = cls.getInterfaces(); // []

  }
}
Home 
  Java Book 
    Runnable examples  

Reflection interface:
  1. Get implemented interfaces
  2. Get Super Interfaces
  3. Is it an interface
  4. Does it implement Serializable interface
  5. Interfaces for a primitive type is an empty array
  6. Superclass of interfaces is always null