File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Joined: May 17, 2001
Sep 25, 2001 02:39:00
What's the difference (with a simple example code, please) between Abstract Class and Interface?
Joined: Jul 11, 2001
Sep 25, 2001 03:00:00
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
Joined: Jan 27, 2001
Sep 25, 2001 04:01:00
Have a look at
answer to the same quesion
This question by
and aso this one by Venkat Ramanan
and lastly I suggest you try
Don't get me started about those stupid
How To Call Two Different Classes From the Main Program Using the Same API?
Home interface or Home Interface stub
Writing an Interface
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014