Monday, July 9, 2007

Can you prevent a class from being inherited by another?

Yes. The keyword “sealed” will prevent the class from being inherited.

No comments: