Create an interface Animal with methods - animalSound() - run() - type() and Create 3 classes Tiger, Cow, and Goat. All these 3 classes implement the Animal interface
belongs to collection: Java Interface Programs
All Answers
total answers (1)
belongs to collection: Java Interface Programs
total answers (1)
interface Animal:
class Tiger:
class Cow:
class Goat:
class Main:
need an explanation for this answer? contact us directly to get an explanation for this answer