HI Folks ,
Sorry if it is the Repeated Question....
---> I want to Create An Object for a Class With user specified name.?
Example :
Class Name : Simple
User Specified Name for a Object : SunServer
i want like this
Simple "userSpecified Name" = new Simple();
how to replace the "userSpecified Name " variable in the above line with SunServer..
String UserSpecified = SunServer;
:'( Simple UserSpecified = new Simple();:'(
Above line is Wrong bcz we already defined UserSpecified Variable as a String Type and we cant create an Object for a class(Simple) with same variable.
i want to do create Objects with name as User specified "Something like at Runtime"
.