Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Generate Function Call at Runtime

Reply
Thread Tools

Generate Function Call at Runtime

 
 
TheVooDooChild
Guest
Posts: n/a
 
      04-12-2005
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

 
Reply With Quote
 
 
 
 
EricF
Guest
Posts: n/a
 
      04-13-2005
In article < .com>, "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
 
Reply With Quote
 
 
 
 
TheVooDooChild
Guest
Posts: n/a
 
      04-13-2005
function / method ... same damn thing

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to call function whose function call with arguments is in astring Options grbgooglefan C Programming 4 01-30-2008 05:12 PM
How to call function whose function call with arguments is in astring grbgooglefan C++ 2 01-30-2008 07:18 AM
How to call function whose function call with arguments is in astring Options grbgooglefan C Programming 0 01-30-2008 04:19 AM
defined? for recursive function call v/s defined? for function call stack Alok Ruby 3 04-13-2006 11:53 AM
write a function such that when ever i call this function in some other function .it should give me tha data type and value of calling function parameter komal C++ 6 01-25-2005 11:13 AM



Advertisments