Omniwyse interview question

oops concepts ??