Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java print type of variable

System.out.println(((Object)variableName).getClass().getName());
Source by programming-idioms.org #
 
PREVIOUS NEXT
Tagged: #java #print #type #variable
ADD COMMENT
Topic
Name
2+2 =