Stefano Mazzocchi dijo:
>
> On Thursday, Sep 25, 2003, at 19:31 Europe/Rome, Christopher Oliver
> wrote:
>
>>> If you don't want that someone inherits from these classes make them
>>> final.
>>>
>>> Carsten
>>>
>> I cound do that but then you (or another developer) could simply
>> remove it.
>
> True, but if something is marked final, I'm sure people will be wise
> enough to ask around before changing it.

OK. Then the short answer is:

"Add a comment on the code why it is marked as final. I think it would be
the best to avoid other people to remove the final attribute of your
class."

Best Regards,

Antonio Gallardo.



Reply via email to