
what is meant by constructor?

A java constructor has the same name as the name of the class to which it belongs. Constructor?s syntax does not include a return type, since constructors never return a value.It is used to initialize an object.
For more information, visit the following links:
http://www.roseindia.net/java/beginners/Construct.shtml
http://www.roseindia.net/java/java-tips/oop/constructors/constructor.shtml
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.