Re: Forcing sub-classes to implement Constructor

Dmitry Beransky <[email protected]>
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
On 8/9/07, Roger Jakobsen <[email protected]> wrote:
> Is there a way to force subclasses of a class to implement a certain (read
> empty) constructor.

No, this is not possible.

If I may put forth a bold statement: if you finding that you need to
do this, you may want to take a step back and re-evaluate your design.
 Could you describe what you are trying to do in more detail?  I'm
curious if there is a real use case for this.


Regards
Dmitry

===================================
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.