Cognizant Interview Question

difference between class and structure