Morgan Stanley interview question

Need of Abstract Classes when there is interface available in java

Interview Answers

Anonymous

1 June 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

Anonymous

1 June 2021

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