3 Replies Latest reply: Apr 2, 2013 1:44 PM by 973635 RSS

    executing class and method inside a string

    999911
      Hi,

      I am new to Java. We are reading Java classes and methods from excel fiile in one column. After reading, it comes in a String. I don't how to execute from the String at runtime. Kindly someone help me.

      Eg. strTest = "Test.Open";

      In this "Test" is my class name and "Open" is funtion in the class. If we execute or call strTest, function Open should be called from the class.

      Thank you!