Jump to content

whats the difference between an interface and a class?


tarlejh

Recommended Posts

I'm aware these are used for different situations, but can classes, abstract classes, and interfaces all be thought of as abstractions? 

 

For instance, supposing you have data that is presented as HTML.  You have abstraction layers underneath it:

 

HTML -> XML -> class -> abstract class , etc..

 

Is it correct to say that an abstract class, while more abstracted than a class, basically serves the same purpose in OO theory? 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.