Constructor in java: It is a block of code that initializes the newly created object. Types: Default and Parameterized constructor, java copy constructor.