On 11/22/10 5:09 PM, Hammond, Steven wrote:
Maybe I am off, but I thought other classes already cannot inherit from it, 
because it has a private constructor.
It does. But it's not convenient. That forces you to declare *all* the constructor private. If you miss one of them, then the class can be extended. Using 'final' as a qualifier for the class does protect the full class completely, even if the class evolve (AFAIU)


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to