Rahul Bansal
Why we use Final keyword if we have sealed and const keywords in C#.?
By Rahul Bansal in C# on May 01 2015
  • Rajeev Kumar
    Jun, 2023 26

    you can prevent overriding of a method. When you use sealed modifiers in C# on a method, then the method loses its capabilities of overriding. The sealed method should be part of a derived class and the method must be an overridden method.

    • 0
  • Avikshith Aradhya
    Jun, 2016 3

    There is "sealed" keyword instead of "final" keyword in c#.

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS