Frage im Vorstellungsgespräch bei Cognizant

Reverse the given String. How abstract class is different from interface.