Create an interface called animal that contains two methods


Problem:

Question 1- Create an interface called Animal that contains 2 methods called sound and movement.

Question 2- Create 3 classes that implement the Animal interface, Hawk, Elephant and Snake. Hawks shriek and fly; elephants trumpet and walk; snakes hiss and slither.

Write the code step by step and explain it.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create an interface called animal that contains two methods
Reference No:- TGS0893922

Expected delivery within 24 Hours