tarlejh Posted June 1, 2009 Share Posted June 1, 2009 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? Link to comment https://forums.phpfreaks.com/topic/160532-whats-the-difference-between-an-interface-and-a-class/ Share on other sites More sharing options...
Daniel0 Posted June 1, 2009 Share Posted June 1, 2009 http://www.phpfreaks.com/forums/index.php/topic,252620.msg1186465.html#msg1186465 Link to comment https://forums.phpfreaks.com/topic/160532-whats-the-difference-between-an-interface-and-a-class/#findComment-847213 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.