What are the other ways to create an object other than creating as new object?
We can create object in different ways;
1.new operator
2.class.forName: Classname obj = Class.forName(”Fully Qualified class Name”).newInstance();
3.newInstance
4.object.clone
|