UKG interview question

OOPS Basic Concepts and DSA.