Home > DeveloperSection > Interviews > How can you prevent your class to be inherited further?

Posted on    August-27-2014 11:36 PM

 C# C# 
 1 Answer(s)
  990  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    August-27-2014 12:00 AM

You can prevent a class from being inherited further by defining it with the sealed keyword.

Don't want to miss updates? Please click the below button!

Follow MindStick