Labtron Equipment interview question

Object oriented programming with example on paper