In this task, you need to implement the Fox class's inheritance of the Animal interface. Don't delete any methods. Instead, you need to edit the code so that the getName method is the only method in the Fox class.
One method in a class
- 3
Locked
Comments (2)
- Popular
- New
- Old
You must be signed in to leave a comment
ImDevin
3 June 2021, 00:09
2 ways to solve: 1) add "abstract" to Fox class or 2) make the methods static
I'm sure everybody knew that, but for those how didn't..... Happy coding!
0
Mary Khan
6 June 2022, 05:18
I solved by making the methods default
0