Can any one tell about the difference between the Abstract Class and Interface? Can abstract class replaces Interface? If all things can be done in Abstract class Why we need Interface?
selvaganapathy
31
Posting Pro
Recommended Answers
Jump to PostCan any one tell about the difference between the Abstract Class and Interface?
Abstract classes can contain implementations of some methods, while interfaces cannot. This allows abstract classes to serve as a base implementation of a class hierarchy that shares some (or much) common code and require that subclasses implement …
All 2 Replies
Ezzaral
2,714
Posting Sage
Team Colleague
Featured Poster
Alex Edwards
commented:
Expert Answer
+2
selvaganapathy
31
Posting Pro
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.