Qualcomm interview question

What is a constructor in OOP Practices