how to get type of a vriable in java 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()