File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Interface Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Interface" Watch "Interface" New topic
Author

Interface

Matteo Giacometti
Greenhorn

Joined: May 17, 2001
Posts: 1
What's the difference (with a simple example code, please) between Abstract Class and Interface?
Thanks
Peter Guillebaud
Ranch Hand

Joined: Jul 11, 2001
Posts: 57
Hi, I'm not too sure about this either but I think that the abstract class can include fully defined methods whereas an interface cannot. The interface just lists the method names and signatures that the subclasses must implement.
Johannes de Jong
tumbleweed
Bartender

Joined: Jan 27, 2001
Posts: 5089
Have a look at
 
Don't get me started about those stupid light bulbs.
 
subject: Interface
 
Similar Threads
How To Call Two Different Classes From the Main Program Using the Same API?
Home interface or Home Interface stub
Time Capsule
Writing an Interface
Regarding Interfaces