How to pass the name of the class, that I have in String variable, to the method of other class/object as an argument ?
Action a.choose(??s??); // how this could be carried out
In other words, how to say one object which class to instantiate?
And please tell me how it is with functions.