Coforge interview question

explain oops concept with example