adspace
Explain me what is the difference between an abstract class and an interface?
Answer Posted / Bhole Nath Mishra
An abstract class can contain implementation details, as well as abstract methods that must be implemented by derived classes. An interface only defines a contract that specifies what members should exist in a class, but does not provide any implementation. Multiple classes can implement the same interface, while a class can inherit from one abstract class.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers