Java Constructor

How to use a constructor in a Java program?

Questions by babloo.avi

Showing Answers 1 - 6 of 6 Answers

banduskank

  • Jun 30th, 2008
 

When you want create an object at that time you use the constructor. The purpose of Constructor is only to create object. If you not provide Constructor then compiler create default Constructor to create object.

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