package com.javarush.task.task11.task1117;

/* 
Альтернативная цепочка наследования
*/

public class Solution {
    public static void main(String[] args) {
    }

    public class Carnivore extends Animal {

    }

    public class Cow extends Animal {

    }

    public class Dog extends Carnivore {

    }

    public class Pig extends Animal {

    }

    public class Animal {

    }
}

Complete task1117