Verifique el tipo de java variable
public class MyClass {
public static void main(String args[]) {
int x = 5;
System.out.println(((Object)x).getClass().getSimpleName());
}
}
Defiant Dove