Cotiviti interview question

explain oops concepts with a code.