public class MyClass {
public static void main(String args[]) {
int x = 5;
System.out.println(((Object)x).getClass().getSimpleName());
}
}
Type is the common superinterface for all types in the Java programming language. These include raw types, parameterized types, array types, type variables and primitive types.