Cognizant interview question

define class, functions, objects from oops