In How Many ways can we create an OBJECT in Java ? Illustrate.

Showing Answers 1 - 6 of 6 Answers

Sagar

  • Nov 27th, 2007
 

Here is the list I formed:
1) using new
2) Serilaization
3) Shallow cloning
4) Deep cloning ý same is serialization
5) Reflection/ Class.newInstance()

  Was this answer useful?  Yes

sampra

  • Feb 14th, 2008
 

perfect ans:
Here is the list I formed:
1) using new
2) Serilaization
3) Shallow cloning
4) Deep cloning ý same is serialization
5) Reflection/ Class.newInstance()

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions