The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
October 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

yes, you can

Posted by Kishori Sharan on October 12, 2000 at 10:55 PM

Yes, you can do it, but not suggested unless absolute necessary. Refer to the topic "Reflection" in any standard book ( preferably Core java2 Volume I ) and you will find how to call a method at run time when you know the name of a method which is in a string.

Thanx
Kishori



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us