Generate Function Call at Runtime

Discussion in 'Java' started by TheVooDooChild, Apr 12, 2005.

  1. At runtime I return the name of a function to execute from a table.
    Can someone show me how to actually call that function using the
    returned String?

    Thanks
     
    TheVooDooChild, Apr 12, 2005
    #1
    1. Advertising

  2. TheVooDooChild

    EricF Guest

    In article <>, "TheVooDooChild" <> wrote:
    >At runtime I return the name of a function to execute from a table.
    >Can someone show me how to actually call that function using the
    >returned String?
    >

    I don't mean to be an a**hole but Java doesn't have functions. If this is
    Java, take a look at the reflection API.

    Eric
     
    EricF, Apr 13, 2005
    #2
    1. Advertising

  3. function / method ... same damn thing
     
    TheVooDooChild, Apr 13, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. grbgooglefan
    Replies:
    2
    Views:
    433
    Pascal Bourguignon
    Jan 30, 2008
  2. grbgooglefan
    Replies:
    4
    Views:
    449
    Kenny McCormack
    Jan 30, 2008
  3. grbgooglefan
    Replies:
    0
    Views:
    403
    grbgooglefan
    Jan 30, 2008
  4. Alok
    Replies:
    3
    Views:
    258
  5. THAKUR PRASHANT SINGH

    Class Function call vs Normal Function call

    THAKUR PRASHANT SINGH, Feb 26, 2010, in forum: Ruby
    Replies:
    7
    Views:
    196
    THAKUR PRASHANT SINGH
    Feb 27, 2010
Loading...

Share This Page