Morgan Stanley Interview Question

Need of Abstract Classes when there is interface available in java

Interview Answers

Anonymous

Jun 1, 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

Jun 1, 2021

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