Infosys interview question

explain oops concepts in c++