What are the other ways to create an object with out calling
new keyword in java?
Answers were Sorted based on User's Feedback
Answer / bala
using in class.for name method
myobject obj=(my object)class.for name("sub in.rnd.my object").new instance();
| Is This Answer Correct ? | 1 Yes | 0 No |
1.by using newInstance();,but before this we have to load the class by using Class.forName();
myobject obj=(my object)class.for name("sub in.rnd.my object").new instance();
2.By using clone();
3.BY using DeSerialization.
ObjectInputStream inStream = new ObjectInputStream(anInputStream );
MyObject object = (MyObject) inStream.readObject();
4.By using String class .
| Is This Answer Correct ? | 0 Yes | 0 No |
Crystal report proffessional 9 to filter the issue date!!
they asked me about srs (software requirement specifcation)? how can i get anydocumentation about srs & other documnts infomation like bdd, in testing? its urgent?
Please forward important interview and basic questions in VB6 on my email id: usneha_16@yahoo.co.in
In project we have Documentation phase also,in that what is micro and macro designing?
How same session variable can be used in both Asp and Asp.net?
What r the attributes using in Win Runner?
0 Answers Tavant Technologies,
what is difference between sap and java ?
details description on this mantis? who is founder of this mantis?
What is good attributes of Programming language ?
what is difference between IF-ELSE-ENDIF and IIF.
the channel in the data communication model can be? option a.postal mail serv. b telephon lines c.radio signals d. all the above
2 Answers iNautix, National Investment Commission,
explain how to make a control visible and invisible during runtime