Skip to content

Conversation

@helenarodcal
Copy link

HI!
I have a question regarding polimorphism using interfaces in this example:

  • what is the value of using an interface here if the code remains exactly the same in the domain and test classes as it was before implementing the interface (same methods in Cat and Dog classes; same tests)

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant