Java, Programming Languages, Programming, Object Oriented.
Name: Animal, Age: 1 Instance Method Let’s create another class and extend the animal class. class Mammal extends Animal { private boolean hasFur; public Mammal(String name, int age, boolean hasFur) { super(name, age); this.hasFur = hasFur; } public boolean hasFur() { return hasFur; } } Now, we