Question d’entretien chez Cognizant

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