Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

get type of variable java

((Object) myVar).getClass().getName()
//OR
((Object) myInt).getClass().getSimpleName()
 
PREVIOUS NEXT
Tagged: #type #variable #java
ADD COMMENT
Topic
Name
1+7 =