int.class 和Integer.TYPE 指的是同一個類對象。 public class Main { public static void main(String[] args) { Class c = boolean.class; c = Boolean.
確定! 回上一頁