There is a certain class Contakt.class , but the names do not matter as there are many classes, the point is that instead of Contakt you need to substitute other values dynamically.
I get the text data and insert it into the String q2=text; then I have code where Contakt.class , but instead of Contakt you need to insert q2 , where the names of other classes are stored.
Something will q2.class like q2.class , where instead of q2 will be various values.
Is there such an option in Java?