- From: Yves Lafon <ylafon@w3.org>
- Date: Mon, 25 Oct 1999 19:04:19 +0200 (MET DST)
- To: Ingmar Krusch <nacht@novedia.de>
- cc: Jigsaw Mailingliste <www-jigsaw@w3.org>
On Fri, 22 Oct 1999, Ingmar Krusch wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi > > I'm currently examining the classes Logger and CommonLogger. The > documentation says that: "The Logger class is the abstract class that > loggers must implement". I'm wondering why Logger is an abstract > class and not an Interface?! What's the actual benefit for the Jigsaw > design? Usually, we are using interfaces for when it can be implemented in many classes. A logger will always be a subclass of "Logger" hence the abstract class. /\ - Yves Lafon - World Wide Web Consortium - /\ / \ Architecture Domain - Jigsaw Activity Leader / \ \/\ / \ / \ http://www.w3.org/People/Lafon - ylafon@w3.org
Received on Monday, 25 October 1999 13:04:57 UTC