Skip to content

polymorphism exercises#61

Open
helenarodcal wants to merge 1 commit intoserenity-dojo:tutorial-3/startfrom
helenarodcal:tutorial-3/start
Open

polymorphism exercises#61
helenarodcal wants to merge 1 commit intoserenity-dojo:tutorial-3/startfrom
helenarodcal:tutorial-3/start

Conversation

@helenarodcal
Copy link
Copy Markdown

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