Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 355
  • Last Modified:

Java version of vba's - Run('Function', startParams)

Hi all

In vba it is possible to call a function via the Run('Function', startParams) command where 'Function' is a string variable containing the name of a function to be run.

Is it possible to do this in java? I.E. i want to be able to create a method that takes in a string of the name of the method to call and calls this one!

Thanks in advance
0
billyleo
Asked:
billyleo
  • 3
1 Solution
 
sciuriwareCommented:
Yes by "reflection".

;JOOP!
0
 
sciuriwareCommented:
0
 
billyleoAuthor Commented:
Thanks - had come to that solution myself, not looking forward to it though!
0
 
sciuriwareCommented:
:))
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now