how to show the type of variable 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()