This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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.
I agree. Here's the link:
subject: Interface and Abstract Classes
It's not a secret anymore!