Create an interface named IRecoverable. It contains a single method named Recover(). Create classes named Patient, Furniture, and Football; each of these classes implements IRecoverable. Create each class’s Recover() method to display an appropriate message. For example, the Patient’s Recover() method might display “I am getting better.” Write a program that declares an object of each of the three types and uses its Recover() method. Save the fi le as RecoveringDemo.cs
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here