I want to create instance of a class using object.getClass().new Instance() but this object constructor needs another object so how can I do this ?
Suppose I have a class
DefaultMetaInfoHandler default=new DefaultMetaInfo(?test?);
Can I create instance of this class using default.getClass().newInstance()
If I have to create how ?
Thanks
Miro
---------------------------------
Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster.