Results 1 to 2 of 2
  1. #1
    tommy is offline Member
    Join Date
    Jul 2007
    Posts
    41
    Rep Power
    0

    Default how can I get the names of variables in runtime?

    is it possible to get the name of variable in runtime? if it so, how can I do that?
    thanks in advance

  2. #2
    brianhks is offline Senior Member
    Join Date
    Jul 2007
    Posts
    135
    Rep Power
    0

    Default

    Almost anything is possible with reflection but give an example of what you are trying to do. There may be other options.

Similar Threads

  1. Drive names
    By alwz_nikhil in forum New To Java
    Replies: 0
    Last Post: 11-28-2007, 11:04 AM
  2. Creating abjects with different names
    By bugger in forum New To Java
    Replies: 3
    Last Post: 11-26-2007, 01:14 PM
  3. Adding file names(Help!!)
    By Gambit17 in forum New To Java
    Replies: 4
    Last Post: 11-09-2007, 08:26 AM
  4. how to get the names of the files
    By mary in forum Advanced Java
    Replies: 2
    Last Post: 08-05-2007, 05:01 AM
  5. building file and variable names from variables
    By madad2005 in forum New To Java
    Replies: 2
    Last Post: 07-18-2007, 05:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •