Rootquotient interview question

Interviewer asked to explain about any OOPS concept with pseudo-code