File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 agree. Here's the link:
subject: Interface and Abstract Classes
It's not a secret anymore!