Compiling the program

  • 3
  • Locked
Here you have been given an ordinary fox and its descendant, a big fox. Fix the Fox and BigFox classes so that the program compiles. This task does not involve creating instances of the base class. It is also probably better to not mess with the main method.
You can't complete this task, because you're not signed in.
Comments (3)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Petros
Level 23 , Columbia, United States
4 August 2020, 20:43
It's all a guessing game for me. Surprised I'm getting it right.
IvanNik
Level 15 , Sofia, Bulgaria
24 January 2019, 06:29
And what to do with Color getColor() method ???
Michaela Obertova
Level 30 , Palo Alto, United States
24 April 2020, 13:38
I'm probably late, but for anyone asking themselves this, here's some documentation on Color: https://docs.oracle.com/javase/7/docs/api/java/awt/class-use/Color.html