A java constructor is a special method used to initialize java objects. Constructor can be used to set initial values for object attributes. Constructor is called when an object of a class is created. Constructor can also take parameters. Constructors can take many parameters they way a method takes.Constructor name should match class name. Also Constructor can not return value.