This discussion is archived
4 Replies Latest reply: Dec 16, 2008 12:26 PM by 710081 RSS

Convert variable name to String

807589 Newbie
Currently Being Moderated
Hello, people

I've got a "simple" question which is in fact not quite simple: how do I convert a variable name to a String?
For instance:
Long id = new Long(5L); --> I want "id" as a String.

Thanks in advance.