
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