Ericsson interview question

differences between interfaces and abstract classes.

Interview Answer

Anonymous

9 Oct 2022

interface can implement, abstract calss extend, means interface is a kind of contract, and abstract is a special class. but can the instantiate. Interface can change state, but abstract classes can.