Domanda di colloquio di Qualcomm

When would you use a class in object oriented programming?