Andariel Sharp

Andariel Sharp

  • NA
  • 19
  • 4.4k

Learning the Language

Feb 19 2015 3:50 AM
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.

I am new to this language, it looks like they are similar to c++. so I'm trying to do c# problems like this can someone help with this? im referring to J.Farrell's book introduction to c#.

Answers (2)