Re: Forcing sub-classes to implement Constructor

Jeff Kesselman <[email protected]>
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
Roger Jakobsen wrote:
> Is there a way to force subclasses of a class to implement a certain (read
> empty) constructor.
>
AIR if the parent class  implements the constructor, the child also must...

This is sub-classes.  Interfaces cannot define constructors (a pet peave
of mine that often
leads to factories where they werent otherwise required.)

JK

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.