Pergunta de entrevista da empresa Cognizant

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