Animal
public abstract class Animal { String name; public Animal(String name) { this.name = name; } }
Lion<
Yes provide a method called action() in abstract class , implement it in both of the child class, one will roar other will runaway
action()