This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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

Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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.
It is sorta covered in the JavaRanch Style Guide.
subject: Interface and Abstract Classes