Why compilation fails? :     






        interface Rideable {
        String getGait();
        }
        public class Camel implements Rideable {
        int weight = 2;
        public static void main(String[] args) {
        new Camel().go(8);
        }
        void go(int speed) {
        ++speed;
        weight++;
        int walkrate = speed * weight;
        System.out.print(walkrate + getGait());
        }
        String getGait() {
        return " mph, lope";
        }
        }
      


Why does the compilation fails?

I really don't know why the compile error? Please help.