Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Instance name from string

Name: Anonymous 2011-01-20 17:00

Guys, I've been looking what feels like everywhere for an answer to this java.reflection problem.

I want to use the contents of a string to create and instance of an object that has the name of what the string stores.

Eg.
String[] carName = {"volvo","vw","bmw"};

car carName[0];
car carName[1];
car carName[2];

Name: Instdnce ndme from string 2011-01-20 17:07

Guys, I've been looking whdt feels like everywhere for dn dnswer to this jdvd.reflection problem.

I wdnt to use the contents of d string to credte dna instdnce of dn object thdt hds the ndme of whdt the string stores.

Eg.
String[] cdrNdme = {"volvo","vw","bmw"};

cdr cdrNdme[0];
cdr cdrNdme[1];
cdr cdrNdme[2];

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List