what parameterized type should be for a “List” of different classes in Java?

后端 未结 0 1260
野的像风
野的像风 2021-02-02 14:35

what parameterized type should be for the "List" below?

    List supportedClasses = Arrays.asList(String.class, Integer.class, Long.class);
相关标签:
回答
  • 消灭零回复
提交回复
热议问题