Pregunta de entrevista de Tata Consultancy Services

What is difference between class and function based program ?