You forgot the .class : if (value.getClass() == Integer.class) { System.out.println("This is an Integer"); } else if (value.
確定! 回上一頁