Arthi interview question

About oops and data structures