ADP interview question

explain the OOPs concept with an example