On May 2, 2006, at 11:35 AM, Norman Palardy wrote:


On May 02, 2006, at 11:23 AM, Jason Essington wrote:

perhaps what would be more appropriate in your situation would be an abstract class (not yet available in RB, perhaps there should be a feature request) which can define partial behavior for a group of objects, while still requiring that some methods be implemented.

You can get the same behavior of an abstract class by creating a class that has a private constructor.
That way it cannot be instantiated directly but can be inherited from.

Right, but you cannot define abstract methods, or implement an interface and leave some interface methods unimplemented as you could with a proper abstract class.

-jason
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to