This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes abstract class and interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "abstract class and interface" Watch "abstract class and interface" New topic
Author

abstract class and interface

jignesh soni
Ranch Hand

Joined: Dec 10, 2007
Posts: 150
abstract class and interface has undefined methods in them. so why do we need interface when abstract class is there and it serves the purpose ?
Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 685
One part is that a class can implement more than one interface but only extend one abstract class.
Ravikanth kolli
Ranch Hand

Joined: Feb 10, 2008
Posts: 179

check this.


-kolli
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: abstract class and interface
 
Similar Threads
abstract class Vs interface
abstract class
Interface problems...
Java interface
forcing implementing methods