4 Replies Latest reply on Apr 19, 2011 1:33 AM by 828493

    Resolving the type of a primitive variable

    828493
      Hi Forum,

      I would like to find out how to tell if a variable is of a primitive type such as int, float, boolean or char from my program. The instanceof operator seems to work for only Objects and not fundamental types.

      Thanks.