第三十八道Java小问题

import java.util.HashSet;
import java.util.LinkedHashSet;
 public class Test {
  public static void main(String[] args) throws IllegalAccessException,
    InstantiationException {
   Class<LinkedHashSet> a = LinkedHashSet.class;
   LinkedHashSet ao = a.newInstance();
   Class<HashSet> b = a.getSuperclass();
   HashSet bo = b.newInstance();
   System.out.println(bo.getClass());
  }
 }

 

请问以上程序的输出是:

你可能感兴趣的:(java)