find the data type f the varibale in jvaa code example
Example: get type of variable java
((Object) myVar).getClass().getName()
//OR
((Object) myInt).getClass().getSimpleName()
((Object) myVar).getClass().getName()
//OR
((Object) myInt).getClass().getSimpleName()