Pregunta de entrevista de Morgan Stanley

Need of Abstract Classes when there is interface available in java

Respuestas de entrevistas

Anónimo

1 jun 2021

Abstract classes can be partially implemented because it can provide common functionality to all implementations where as interface cannot contain implementations for any member

Anónimo

1 jun 2021

From JAVA 9 onwards, interface can have default implementations too. So this makes abstract classes practically useless.