This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
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
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
Writing an Interface
How To Call Two Different Classes From the Main Program Using the Same API?
Home interface or Home Interface stub
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015