Constructor Use

Why the constructor is used?

Showing Answers 1 - 2 of 2 Answers

Chakshu gill

  • Dec 4th, 2016

It is used to initialize the object of that class type during its creation

  Was this answer useful?  Yes

Sukrati Prasad

  • May 29th, 2017

To initialize the class variables.

  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