KPIT Technologies interview question

Object oriented programming concepts with example