describe a interface human with methods as walk


Describe a interface 'Human' with methods as walk' and 'speak'. Describe a class 'User' implementing 'Human'. Describe a work() method in User class.Add a class 'Person' also executing Human. Add a method 'Behave' inPerson class. In Main method make objects of Person and User andassign them to 'Human' type and call Human methods. Can the work and Behave methods be called by Human types? Can we make the interface objects by calling interface Constructors ? Justify your answer.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: describe a interface human with methods as walk
Reference No:- TGS0212247

Expected delivery within 24 Hours