Hello,
I have a text file called class_content_decider.config and I would like to develop a simple
Java Application (TestDynamicClass.java) that would read this 1-liner config file and create a DYNAMIC class (object on the fly).
Say for example - class_content_decider.config
firstanme, lastname, age, dob, company, salary
And the dynamic Class/Object should look like
Class temp1_21
{
String firstanme;
String lastname;
String age;
String dob;
String company;
String salary;
}
Would Reflection help in such a (specific) case?
Please suggest!
Regards,
DS - [
SCJP, SCWCD, SCDJWS]