Infosys Interview Question

mainly on oops and collections based logical based questions