Domanda di colloquio di SLB

What is a constructor in object-oriented programming?