I'm not really sure what to do to get this to pass, could anyone help?
Thanks!
package com.codegym.task.task13.task1325;
import java.awt.*;
/*
Compiling the program
*/
public class Solution {
public static void main(String[] args) throws Exception {
BigFox bigFox = new BigFox();
System.out.println(bigFox.getName());
System.out.println(bigFox.getColor());
}
public interface Animal {
Color getColor();
}
public abstract class Fox implements Animal {
public String getName() {
return "Fox";
}
}
public static class BigFox extends Fox {
public Color getColor() {
return Color.BLUE;
}
}
}