wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Interface and Abstract Classes" Watch "Interface and Abstract Classes" New topic
Author

Interface and Abstract Classes

Nadeem Ahmad
Greenhorn

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.
Thanks
in advance
David O'Meara
Rancher

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.
Dave
 
Consider Paul's rocket mass heater.
 
subject: Interface and Abstract Classes