OpenText Interview Question

oops with programming and real time example