Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

get type of variable java

((Object) myVar).getClass().getName()
//OR
((Object) myInt).getClass().getSimpleName()
Source by www.delftstack.com #
 
PREVIOUS NEXT
Tagged: #type #variable #java
ADD COMMENT
Topic
Name
1+6 =