Concentrix interview question

Just basic OOPS questions