News

Abstract classes and interfaces in Java serve fundamentally different purposes. Learn the differences between these Java language elements and how to use them in your programs.
Hopefully this detailed example helps ground the earlier, more theoretical discussion about interfaces and abstract classes. Be sure to download the source code included with this Q&A.