aspose file tools*
The moose likes Beginning Java and the fly likes Calling static methods using Reflection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Calling static methods using Reflection" Watch "Calling static methods using Reflection" New topic
Author

Calling static methods using Reflection

Alok Pota
Ranch Hand

Joined: Mar 07, 2001
Posts: 185
How do I call a static method using Reflection
David Weitzman
Ranch Hand

Joined: Jul 27, 2001
Posts: 1365
In Method.invoke(), just pass null instead of an instance.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Calling static methods using Reflection