How can we create object of any class without using new keyword?

Questions by Nitin Vavdiya   answers by Nitin Vavdiya

Showing Answers 1 - 5 of 5 Answers


  • Feb 2nd, 2012

Class.forName("class name").newInstance();


  • Mar 3rd, 2012

There is also another way of creating object. It is by using double quotes.

  Was this answer useful?  Yes

Devapangu Mangaiah

  • Mar 19th, 2012

Using factory method

  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