Zensar Technologies interview question

explain oops concepts with example