Possible Duplicate:
What are all the different ways to create an object in Java?
In how many ways can we create an instance of an object. Please explain each way.
Possible Duplicate:
What are all the different ways to create an object in Java?
In how many ways can we create an instance of an object. Please explain each way.