D-insights interview question

difference between class and object in OOPs