A
Aaron Fude
Hi,
It's hard to explain why I need this, but I need to programmatically
create a class that has certain fields in it.
For examle, is it possible to write a function
class MyClass {
public static Class createClass(String field1, String field2) {
}
}
that creates a class with two int fields whose names are contained in
variables field1 and field2.
Many thanks in advance!!!
Aaron
It's hard to explain why I need this, but I need to programmatically
create a class that has certain fields in it.
For examle, is it possible to write a function
class MyClass {
public static Class createClass(String field1, String field2) {
}
}
that creates a class with two int fields whose names are contained in
variables field1 and field2.
Many thanks in advance!!!
Aaron