Which class that has Methods those cannot be inherited
Pavan R Bhupalam
sealed class
By using the keyword sealed with the method in the parent class prevent it from inheriting.public class employee{ sealed void display(); }
Public Class A{sealed void Print() { Console.WriteLine("C-sharp"); }}