Why am I getting this error?? Thanks
package com.codegym.task.task15.task1502;

/*
OOP: Animal inheritance

*/

public class Solution {
    // Add the Goose and Dragon classes here

    public static class Goose extends SmallAnimal {


        @Override
        public static String getSize() {
            return "A goose is small, " + SmallAnimal.getSize();
        }
    }

    public static class Dragon extends BigAnimal {

        @Override
        public static String getSize() {
            return "A dragon is big, " + BigAnimal.getSize();
        }
    }

    public static void main(String[] args) {

    }

    public static class BigAnimal {
        public static String getSize() {
            return "like a dinosaur";
        }
    }

    public static class SmallAnimal {
        public static String getSize() {
            return "like a cat";
        }
    }
}