File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "abstract class and interface" Watch "abstract class and interface" New topic

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: 692
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.

I agree. Here's the link:
subject: abstract class and interface
It's not a secret anymore!