Accenture interview question

what is difference between abstract class and interfaces??

Interview Answer

Anonymous

10 Sept 2023

The Abstract class and Interface both are used to have abstraction. An abstract class contains an abstract keyword on the declaration whereas an Interface is a sketch that is used to implement a class