The Artima Developer Community
Sponsored Link

Abstract class

Advertisement

Advertisement

This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Abstract class

Posted by Doug Bell on 23 Nov 1998, 11:48 AM

> In terms of expressing what the behaviour of a category of objects (the term "class" is a touch loaded),
> we could say that a Java class requires the programmer to go overboard, since a non-trivial, unambiguous
> declaration of behaviour can only be made by means of an implementation.
> On the other hand, a Java inteface is too weak, since the programmer can only declare method signitures
> (and constants), and no behaviour.

> Thoughts?

I'm not sure what Mike is looking for here, but it sure sounds like an abstract class.




Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us