How can we restrict inheritance for a class?

View more threads in the same category: