Can we prevent a class from overriding

Yes we can do this by use of sealed in csharp and NotInheritable in VB.NET