The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
October 2000



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.


Function Pointers in Java ( interface and reflection )

Posted by Kishori Sharan on October 21, 2000 at 1:43 PM

Java doesn't have anything like function pointers in C. However, you can use inteface and reflection ( Method class ) to achieve the same ( even much more ) effect in Java as you get in C using function pointer.

  • pointers Shriaknt Pol June 04, 2001 at 3:30 AM (0)

Sponsored Links

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