variable-variables

java String to class

Hi, I have got a bean class names as "Bean1". In my main method i have got a string containing the name of the variable. String str= "Bean1"; Now how can i use the String variable to get the class and access the Bean properties. I am new to Java. please help. ...