Interview Question
Software Engineer Interview
-
Ericsson-Worldwidewhat is diff between abstract class and interface
Interview Answer
1 Answer
▲
1
▼
An Abstract class may or may not have the method definitions, while the interface doesn't have the method definition. Interface is a contract b/w a class and the outside world. You can implement multiple interfaces, but can't extend multiple abstract classes.
Node on
Add Answers or Comments
To comment on this, Sign In or Sign Up.