4 Replies Latest reply: Apr 18, 2011 8:33 PM by 828493 RSS

    Resolving the type of a primitive variable

      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.