Error creating an instance
importance: 5
Here’s the code with Rabbit extending Animal.
Unfortunately, Rabbit objects can’t be created. What’s wrong? Fix it.
That’s because the child constructor must call super().
Here’s the corrected code:
We want to make this open-source project available for people all around the world.
Help to translate the content of this tutorial to your language!
Here’s the code with Rabbit extending Animal.
Unfortunately, Rabbit objects can’t be created. What’s wrong? Fix it.
That’s because the child constructor must call super().
Here’s the corrected code: