Qualcomm Interview Question

When would you use a class in object oriented programming?