Re: FW: class Logger

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