How know a variable type in java?

Posted by Miguel Ribeiro on Stack Overflow See other posts from Stack Overflow or by Miguel Ribeiro
Published on 2010-04-20T11:17:23Z Indexed on 2010/04/20 11:23 UTC
Read the original article Hit count: 277

Filed under:
|
|

Hi.

I wanted a thing like I declare a variable: String a = "test"; And want to know what type it is, i.e., the output should be java.lang.String

thanks in advance

© Stack Overflow or respective owner

Related posts about java

Related posts about type