Do you know that? 8% freelancers want to return to full-time employment next

How can you allow class to be inherited and prevent the method from being over-ridden?

 Declare the class as public and make the methods sealed. 

 The method declaration with a sealed modifier is called as a sealed method. The same method must also include the override modifier. With the use of sealed modifier, a derived class is prevented from futher overriding the method.