・インスタンスについてgetClass()をとると、Class名を取得できる
・instanceofで、Class名を比較
Sample.java
public static void main(String[] args) {
System.out.println(Integer.valueOf("1").getClass());
System.out.println(Integer.valueOf("1") instanceof Integer);
}
class java.lang.Integer
true