This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General and the fly likes Interface and Abstract Classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Java in General
Bookmark "Interface and Abstract Classes" Watch "Interface and Abstract Classes" New topic

Interface and Abstract Classes

Nadeem Ahmad

Joined: Oct 20, 2003
Posts: 28
What is the advantage of interface on abstract classes other than multiple inheritance.
At the time desigining how we decide that whether it shud be a abstract class or Interface.
plz elaborate the answer with a simple example.
in advance
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

This is one of the most common questions in the various Java in General forums. I recommend doing a search of these forums first, since there have been some very good conversations previously.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Interface and Abstract Classes
It's not a secret anymore!