No matches were found for subject:"Which is a better approach to avoid polymorphism and inheritance"