Tieto interview question

Design patterns, basics of oops