We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I am a little bit confused. I "solved" the challenge, but it doesn't seem like they even needed/wanted to specifically implement an interface.
Even the linked tutorial uses interface and implements the way I was taught, but the stub code forces different syntax becasue you can't redesign AdvancedArithmetic to be an interface. Which Cacluate would then implement.
Can someone explain?
BTW I am solving the challenges in python.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 19: Interfaces
You are viewing a single comment's thread. Return to all comments →
I am a little bit confused. I "solved" the challenge, but it doesn't seem like they even needed/wanted to specifically implement an interface. Even the linked tutorial uses interface and implements the way I was taught, but the stub code forces different syntax becasue you can't redesign AdvancedArithmetic to be an interface. Which Cacluate would then implement. Can someone explain? BTW I am solving the challenges in python.