Infosys Interview Question

What is a constructor in Java